1 <?xml version="1.0" encoding="utf-8"?>
2 <xs:schema id="SIS_DBDataSet2" targetNamespace="http://tempuri.org/SIS_DBDataSet2.xsd" xmlns:mstns="http://tempuri.org/SIS_DBDataSet2.xsd" xmlns="http://tempuri.org/SIS_DBDataSet2.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
3 <xs:annotation>
4 <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
5 <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
6 <Connections>
7 <Connection AppSettingsObjectName="MySettings" AppSettingsPropertyName="SIS_DBConnectionString1" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="SIS_DBConnectionString1 (MySettings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Sales_and_Inventory_System.My.MySettings.GlobalReference.Default.SIS_DBConnectionString1" Provider="System.Data.SqlClient" />
8 </Connections>
9 <Tables>
10 <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ActivationTableAdapter" GeneratorDataComponentClassName="ActivationTableAdapter" Name="Activation" UserDataComponentName="ActivationTableAdapter">
11 <MainSource>
12 <DbSource ConnectionRef="SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.Activation" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
13 <DeleteCommand>
14 <DbCommand CommandType="Text" ModifiedByUser="false">
15 <CommandText>DELETE FROM [dbo].[Activation] WHERE (([ID] = @Original_ID) AND ([HardwareID] = @Original_HardwareID) AND ([SerialNo] = @Original_SerialNo) AND ([ActivationID] = @Original_ActivationID))</CommandText>
16 <Parameters>
17 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
18 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_HardwareID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="HardwareID" SourceColumnNullMapping="false" SourceVersion="Original" />
19 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_SerialNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="SerialNo" SourceColumnNullMapping="false" SourceVersion="Original" />
20 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ActivationID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ActivationID" SourceColumnNullMapping="false" SourceVersion="Original" />
21 </Parameters>
22 </DbCommand>
23 </DeleteCommand>
24 <InsertCommand>
25 <DbCommand CommandType="Text" ModifiedByUser="false">
26 <CommandText>INSERT INTO [dbo].[Activation] ([HardwareID], [SerialNo], [ActivationID]) VALUES (@HardwareID, @SerialNo, @ActivationID);
27 SELECT ID, HardwareID, SerialNo, ActivationID FROM Activation WHERE (ID = SCOPE_IDENTITY())</CommandText>
28 <Parameters>
29 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@HardwareID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="HardwareID" SourceColumnNullMapping="false" SourceVersion="Current" />
30 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@SerialNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="SerialNo" SourceColumnNullMapping="false" SourceVersion="Current" />
31 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ActivationID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ActivationID" SourceColumnNullMapping="false" SourceVersion="Current" />
32 </Parameters>
33 </DbCommand>
34 </InsertCommand>
35 <SelectCommand>
36 <DbCommand CommandType="Text" ModifiedByUser="false">
37 <CommandText>SELECT ID, HardwareID, SerialNo, ActivationID FROM dbo.Activation</CommandText>
38 <Parameters />
39 </DbCommand>
40 </SelectCommand>
41 <UpdateCommand>
42 <DbCommand CommandType="Text" ModifiedByUser="false">
43 <CommandText>UPDATE [dbo].[Activation] SET [HardwareID] = @HardwareID, [SerialNo] = @SerialNo, [ActivationID] = @ActivationID WHERE (([ID] = @Original_ID) AND ([HardwareID] = @Original_HardwareID) AND ([SerialNo] = @Original_SerialNo) AND ([ActivationID] = @Original_ActivationID));
44 SELECT ID, HardwareID, SerialNo, ActivationID FROM Activation WHERE (ID = @ID)</CommandText>
45 <Parameters>
46 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@HardwareID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="HardwareID" SourceColumnNullMapping="false" SourceVersion="Current" />
47 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@SerialNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="SerialNo" SourceColumnNullMapping="false" SourceVersion="Current" />
48 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ActivationID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ActivationID" SourceColumnNullMapping="false" SourceVersion="Current" />
49 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
50 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_HardwareID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="HardwareID" SourceColumnNullMapping="false" SourceVersion="Original" />
51 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_SerialNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="SerialNo" SourceColumnNullMapping="false" SourceVersion="Original" />
52 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ActivationID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ActivationID" SourceColumnNullMapping="false" SourceVersion="Original" />
53 <Parameter AllowDbNull="false" AutogeneratedName="ID" ColumnName="ID" DataSourceName="SIS_DB.dbo.Activation" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
54 </Parameters>
55 </DbCommand>
56 </UpdateCommand>
57 </DbSource>
58 </MainSource>
59 <Mappings>
60 <Mapping SourceColumn="ID" DataSetColumn="ID" />
61 <Mapping SourceColumn="HardwareID" DataSetColumn="HardwareID" />
62 <Mapping SourceColumn="SerialNo" DataSetColumn="SerialNo" />
63 <Mapping SourceColumn="ActivationID" DataSetColumn="ActivationID" />
64 </Mappings>
65 <Sources />
66 </TableAdapter>
67 <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CategoryTableAdapter" GeneratorDataComponentClassName="CategoryTableAdapter" Name="Category" UserDataComponentName="CategoryTableAdapter">
68 <MainSource>
69 <DbSource ConnectionRef="SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.Category" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
70 <DeleteCommand>
71 <DbCommand CommandType="Text" ModifiedByUser="false">
72 <CommandText>DELETE FROM [dbo].[Category] WHERE (([CategoryName] = @Original_CategoryName))</CommandText>
73 <Parameters>
74 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_CategoryName" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CategoryName" SourceColumnNullMapping="false" SourceVersion="Original" />
75 </Parameters>
76 </DbCommand>
77 </DeleteCommand>
78 <InsertCommand>
79 <DbCommand CommandType="Text" ModifiedByUser="false">
80 <CommandText>INSERT INTO [dbo].[Category] ([CategoryName]) VALUES (@CategoryName);
81 SELECT CategoryName FROM Category WHERE (CategoryName = @CategoryName)</CommandText>
82 <Parameters>
83 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@CategoryName" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CategoryName" SourceColumnNullMapping="false" SourceVersion="Current" />
84 </Parameters>
85 </DbCommand>
86 </InsertCommand>
87 <SelectCommand>
88 <DbCommand CommandType="Text" ModifiedByUser="false">
89 <CommandText>SELECT CategoryName FROM dbo.Category</CommandText>
90 <Parameters />
91 </DbCommand>
92 </SelectCommand>
93 <UpdateCommand>
94 <DbCommand CommandType="Text" ModifiedByUser="false">
95 <CommandText>UPDATE [dbo].[Category] SET [CategoryName] = @CategoryName WHERE (([CategoryName] = @Original_CategoryName));
96 SELECT CategoryName FROM Category WHERE (CategoryName = @CategoryName)</CommandText>
97 <Parameters>
98 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@CategoryName" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CategoryName" SourceColumnNullMapping="false" SourceVersion="Current" />
99 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_CategoryName" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CategoryName" SourceColumnNullMapping="false" SourceVersion="Original" />
100 </Parameters>
101 </DbCommand>
102 </UpdateCommand>
103 </DbSource>
104 </MainSource>
105 <Mappings>
106 <Mapping SourceColumn="CategoryName" DataSetColumn="CategoryName" />
107 </Mappings>
108 <Sources />
109 </TableAdapter>
110 <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CompanyTableAdapter" GeneratorDataComponentClassName="CompanyTableAdapter" Name="Company" UserDataComponentName="CompanyTableAdapter">
111 <MainSource>
112 <DbSource ConnectionRef="SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.Company" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
113 <DeleteCommand>
114 <DbCommand CommandType="Text" ModifiedByUser="false">
115 <CommandText>DELETE FROM [dbo].[Company] WHERE (([ID] = @Original_ID) AND ([CompanyName] = @Original_CompanyName) AND ([Address] = @Original_Address) AND ([ContactNo] = @Original_ContactNo) AND ([EmailID] = @Original_EmailID) AND ((@IsNull_TIN = 1 AND [TIN] IS NULL) OR ([TIN] = @Original_TIN)) AND ((@IsNull_STNo = 1 AND [STNo] IS NULL) OR ([STNo] = @Original_STNo)) AND ((@IsNull_CIN = 1 AND [CIN] IS NULL) OR ([CIN] = @Original_CIN)))</CommandText>
116 <Parameters>
117 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
118 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_CompanyName" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CompanyName" SourceColumnNullMapping="false" SourceVersion="Original" />
119 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Original" />
120 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ContactNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Original" />
121 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_EmailID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="false" SourceVersion="Original" />
122 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TIN" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TIN" SourceColumnNullMapping="true" SourceVersion="Original" />
123 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_TIN" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="TIN" SourceColumnNullMapping="false" SourceVersion="Original" />
124 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_STNo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="STNo" SourceColumnNullMapping="true" SourceVersion="Original" />
125 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_STNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="STNo" SourceColumnNullMapping="false" SourceVersion="Original" />
126 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CIN" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CIN" SourceColumnNullMapping="true" SourceVersion="Original" />
127 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_CIN" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CIN" SourceColumnNullMapping="false" SourceVersion="Original" />
128 </Parameters>
129 </DbCommand>
130 </DeleteCommand>
131 <InsertCommand>
132 <DbCommand CommandType="Text" ModifiedByUser="false">
133 <CommandText>INSERT INTO [dbo].[Company] ([CompanyName], [Address], [ContactNo], [EmailID], [Logo], [TIN], [STNo], [CIN]) VALUES (@CompanyName, @Address, @ContactNo, @EmailID, @Logo, @TIN, @STNo, @CIN);
134 SELECT ID, CompanyName, Address, ContactNo, EmailID, Logo, TIN, STNo, CIN FROM Company WHERE (ID = SCOPE_IDENTITY())</CommandText>
135 <Parameters>
136 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@CompanyName" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CompanyName" SourceColumnNullMapping="false" SourceVersion="Current" />
137 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Current" />
138 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ContactNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Current" />
139 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@EmailID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="false" SourceVersion="Current" />
140 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Logo" Precision="0" ProviderType="Image" Scale="0" Size="0" SourceColumn="Logo" SourceColumnNullMapping="false" SourceVersion="Current" />
141 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@TIN" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="TIN" SourceColumnNullMapping="false" SourceVersion="Current" />
142 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@STNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="STNo" SourceColumnNullMapping="false" SourceVersion="Current" />
143 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@CIN" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CIN" SourceColumnNullMapping="false" SourceVersion="Current" />
144 </Parameters>
145 </DbCommand>
146 </InsertCommand>
147 <SelectCommand>
148 <DbCommand CommandType="Text" ModifiedByUser="false">
149 <CommandText>SELECT ID, CompanyName, Address, ContactNo, EmailID, Logo, TIN, STNo, CIN FROM dbo.Company</CommandText>
150 <Parameters />
151 </DbCommand>
152 </SelectCommand>
153 <UpdateCommand>
154 <DbCommand CommandType="Text" ModifiedByUser="false">
155 <CommandText>UPDATE [dbo].[Company] SET [CompanyName] = @CompanyName, [Address] = @Address, [ContactNo] = @ContactNo, [EmailID] = @EmailID, [Logo] = @Logo, [TIN] = @TIN, [STNo] = @STNo, [CIN] = @CIN WHERE (([ID] = @Original_ID) AND ([CompanyName] = @Original_CompanyName) AND ([Address] = @Original_Address) AND ([ContactNo] = @Original_ContactNo) AND ([EmailID] = @Original_EmailID) AND ((@IsNull_TIN = 1 AND [TIN] IS NULL) OR ([TIN] = @Original_TIN)) AND ((@IsNull_STNo = 1 AND [STNo] IS NULL) OR ([STNo] = @Original_STNo)) AND ((@IsNull_CIN = 1 AND [CIN] IS NULL) OR ([CIN] = @Original_CIN)));
156 SELECT ID, CompanyName, Address, ContactNo, EmailID, Logo, TIN, STNo, CIN FROM Company WHERE (ID = @ID)</CommandText>
157 <Parameters>
158 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@CompanyName" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CompanyName" SourceColumnNullMapping="false" SourceVersion="Current" />
159 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Current" />
160 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ContactNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Current" />
161 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@EmailID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="false" SourceVersion="Current" />
162 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Logo" Precision="0" ProviderType="Image" Scale="0" Size="0" SourceColumn="Logo" SourceColumnNullMapping="false" SourceVersion="Current" />
163 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@TIN" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="TIN" SourceColumnNullMapping="false" SourceVersion="Current" />
164 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@STNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="STNo" SourceColumnNullMapping="false" SourceVersion="Current" />
165 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@CIN" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CIN" SourceColumnNullMapping="false" SourceVersion="Current" />
166 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
167 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_CompanyName" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CompanyName" SourceColumnNullMapping="false" SourceVersion="Original" />
168 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Original" />
169 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ContactNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Original" />
170 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_EmailID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="false" SourceVersion="Original" />
171 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TIN" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TIN" SourceColumnNullMapping="true" SourceVersion="Original" />
172 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_TIN" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="TIN" SourceColumnNullMapping="false" SourceVersion="Original" />
173 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_STNo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="STNo" SourceColumnNullMapping="true" SourceVersion="Original" />
174 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_STNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="STNo" SourceColumnNullMapping="false" SourceVersion="Original" />
175 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CIN" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CIN" SourceColumnNullMapping="true" SourceVersion="Original" />
176 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_CIN" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CIN" SourceColumnNullMapping="false" SourceVersion="Original" />
177 <Parameter AllowDbNull="false" AutogeneratedName="ID" ColumnName="ID" DataSourceName="SIS_DB.dbo.Company" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
178 </Parameters>
179 </DbCommand>
180 </UpdateCommand>
181 </DbSource>
182 </MainSource>
183 <Mappings>
184 <Mapping SourceColumn="ID" DataSetColumn="ID" />
185 <Mapping SourceColumn="CompanyName" DataSetColumn="CompanyName" />
186 <Mapping SourceColumn="Address" DataSetColumn="Address" />
187 <Mapping SourceColumn="ContactNo" DataSetColumn="ContactNo" />
188 <Mapping SourceColumn="EmailID" DataSetColumn="EmailID" />
189 <Mapping SourceColumn="Logo" DataSetColumn="Logo" />
190 <Mapping SourceColumn="TIN" DataSetColumn="TIN" />
191 <Mapping SourceColumn="STNo" DataSetColumn="STNo" />
192 <Mapping SourceColumn="CIN" DataSetColumn="CIN" />
193 </Mappings>
194 <Sources />
195 </TableAdapter>
196 <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Company_ContactsTableAdapter" GeneratorDataComponentClassName="Company_ContactsTableAdapter" Name="Company_Contacts" UserDataComponentName="Company_ContactsTableAdapter">
197 <MainSource>
198 <DbSource ConnectionRef="SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.Company_Contacts" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
199 <DeleteCommand>
200 <DbCommand CommandType="Text" ModifiedByUser="false">
201 <CommandText>DELETE FROM [dbo].[Company_Contacts] WHERE (([Id] = @Original_Id) AND ([ContactPerson] = @Original_ContactPerson) AND ([ContactNo] = @Original_ContactNo))</CommandText>
202 <Parameters>
203 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
204 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ContactPerson" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactPerson" SourceColumnNullMapping="false" SourceVersion="Original" />
205 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ContactNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Original" />
206 </Parameters>
207 </DbCommand>
208 </DeleteCommand>
209 <InsertCommand>
210 <DbCommand CommandType="Text" ModifiedByUser="false">
211 <CommandText>INSERT INTO [dbo].[Company_Contacts] ([ContactPerson], [ContactNo]) VALUES (@ContactPerson, @ContactNo);
212 SELECT Id, ContactPerson, ContactNo FROM Company_Contacts WHERE (Id = SCOPE_IDENTITY())</CommandText>
213 <Parameters>
214 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ContactPerson" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactPerson" SourceColumnNullMapping="false" SourceVersion="Current" />
215 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ContactNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Current" />
216 </Parameters>
217 </DbCommand>
218 </InsertCommand>
219 <SelectCommand>
220 <DbCommand CommandType="Text" ModifiedByUser="false">
221 <CommandText>SELECT Id, ContactPerson, ContactNo FROM dbo.Company_Contacts</CommandText>
222 <Parameters />
223 </DbCommand>
224 </SelectCommand>
225 <UpdateCommand>
226 <DbCommand CommandType="Text" ModifiedByUser="false">
227 <CommandText>UPDATE [dbo].[Company_Contacts] SET [ContactPerson] = @ContactPerson, [ContactNo] = @ContactNo WHERE (([Id] = @Original_Id) AND ([ContactPerson] = @Original_ContactPerson) AND ([ContactNo] = @Original_ContactNo));
228 SELECT Id, ContactPerson, ContactNo FROM Company_Contacts WHERE (Id = @Id)</CommandText>
229 <Parameters>
230 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ContactPerson" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactPerson" SourceColumnNullMapping="false" SourceVersion="Current" />
231 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ContactNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Current" />
232 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
233 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ContactPerson" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactPerson" SourceColumnNullMapping="false" SourceVersion="Original" />
234 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ContactNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Original" />
235 <Parameter AllowDbNull="false" AutogeneratedName="Id" ColumnName="Id" DataSourceName="SIS_DB.dbo.Company_Contacts" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Current" />
236 </Parameters>
237 </DbCommand>
238 </UpdateCommand>
239 </DbSource>
240 </MainSource>
241 <Mappings>
242 <Mapping SourceColumn="Id" DataSetColumn="Id" />
243 <Mapping SourceColumn="ContactPerson" DataSetColumn="ContactPerson" />
244 <Mapping SourceColumn="ContactNo" DataSetColumn="ContactNo" />
245 </Mappings>
246 <Sources />
247 </TableAdapter>
248 <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CustomerTableAdapter" GeneratorDataComponentClassName="CustomerTableAdapter" Name="Customer" UserDataComponentName="CustomerTableAdapter">
249 <MainSource>
250 <DbSource ConnectionRef="SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.Customer" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
251 <DeleteCommand>
252 <DbCommand CommandType="Text" ModifiedByUser="false">
253 <CommandText>DELETE FROM [dbo].[Customer] WHERE (([ID] = @Original_ID) AND ((@IsNull_CustomerID = 1 AND [CustomerID] IS NULL) OR ([CustomerID] = @Original_CustomerID)) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)) AND ((@IsNull_Gender = 1 AND [Gender] IS NULL) OR ([Gender] = @Original_Gender)) AND ((@IsNull_Address = 1 AND [Address] IS NULL) OR ([Address] = @Original_Address)) AND ((@IsNull_City = 1 AND [City] IS NULL) OR ([City] = @Original_City)) AND ((@IsNull_State = 1 AND [State] IS NULL) OR ([State] = @Original_State)) AND ((@IsNull_ZipCode = 1 AND [ZipCode] IS NULL) OR ([ZipCode] = @Original_ZipCode)) AND ((@IsNull_ContactNo = 1 AND [ContactNo] IS NULL) OR ([ContactNo] = @Original_ContactNo)) AND ((@IsNull_EmailID = 1 AND [EmailID] IS NULL) OR ([EmailID] = @Original_EmailID)) AND ((@IsNull_CustomerType = 1 AND [CustomerType] IS NULL) OR ([CustomerType] = @Original_CustomerType)))</CommandText>
254 <Parameters>
255 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
256 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CustomerID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerID" SourceColumnNullMapping="true" SourceVersion="Original" />
257 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_CustomerID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CustomerID" SourceColumnNullMapping="false" SourceVersion="Original" />
258 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
259 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
260 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Gender" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="true" SourceVersion="Original" />
261 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Gender" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Original" />
262 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Address" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="true" SourceVersion="Original" />
263 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Original" />
264 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_City" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="true" SourceVersion="Original" />
265 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_City" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="false" SourceVersion="Original" />
266 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_State" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="State" SourceColumnNullMapping="true" SourceVersion="Original" />
267 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_State" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="State" SourceColumnNullMapping="false" SourceVersion="Original" />
268 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ZipCode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ZipCode" SourceColumnNullMapping="true" SourceVersion="Original" />
269 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ZipCode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ZipCode" SourceColumnNullMapping="false" SourceVersion="Original" />
270 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactNo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="true" SourceVersion="Original" />
271 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ContactNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Original" />
272 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EmailID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="true" SourceVersion="Original" />
273 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_EmailID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="false" SourceVersion="Original" />
274 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CustomerType" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerType" SourceColumnNullMapping="true" SourceVersion="Original" />
275 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_CustomerType" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CustomerType" SourceColumnNullMapping="false" SourceVersion="Original" />
276 </Parameters>
277 </DbCommand>
278 </DeleteCommand>
279 <InsertCommand>
280 <DbCommand CommandType="Text" ModifiedByUser="false">
281 <CommandText>INSERT INTO [dbo].[Customer] ([ID], [CustomerID], [Name], [Gender], [Address], [City], [State], [ZipCode], [ContactNo], [EmailID], [Remarks], [Photo], [CustomerType]) VALUES (@ID, @CustomerID, @Name, @Gender, @Address, @City, @State, @ZipCode, @ContactNo, @EmailID, @Remarks, @Photo, @CustomerType);
282 SELECT ID, CustomerID, Name, Gender, Address, City, State, ZipCode, ContactNo, EmailID, Remarks, Photo, CustomerType FROM Customer WHERE (ID = @ID)</CommandText>
283 <Parameters>
284 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
285 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@CustomerID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CustomerID" SourceColumnNullMapping="false" SourceVersion="Current" />
286 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
287 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Gender" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Current" />
288 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Current" />
289 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@City" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="false" SourceVersion="Current" />
290 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@State" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="State" SourceColumnNullMapping="false" SourceVersion="Current" />
291 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ZipCode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ZipCode" SourceColumnNullMapping="false" SourceVersion="Current" />
292 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ContactNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Current" />
293 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@EmailID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="false" SourceVersion="Current" />
294 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Remarks" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Remarks" SourceColumnNullMapping="false" SourceVersion="Current" />
295 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Photo" Precision="0" ProviderType="Image" Scale="0" Size="0" SourceColumn="Photo" SourceColumnNullMapping="false" SourceVersion="Current" />
296 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@CustomerType" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CustomerType" SourceColumnNullMapping="false" SourceVersion="Current" />
297 </Parameters>
298 </DbCommand>
299 </InsertCommand>
300 <SelectCommand>
301 <DbCommand CommandType="Text" ModifiedByUser="false">
302 <CommandText>SELECT ID, CustomerID, Name, Gender, Address, City, State, ZipCode, ContactNo, EmailID, Remarks, Photo, CustomerType FROM dbo.Customer</CommandText>
303 <Parameters />
304 </DbCommand>
305 </SelectCommand>
306 <UpdateCommand>
307 <DbCommand CommandType="Text" ModifiedByUser="false">
308 <CommandText>UPDATE [dbo].[Customer] SET [ID] = @ID, [CustomerID] = @CustomerID, [Name] = @Name, [Gender] = @Gender, [Address] = @Address, [City] = @City, [State] = @State, [ZipCode] = @ZipCode, [ContactNo] = @ContactNo, [EmailID] = @EmailID, [Remarks] = @Remarks, [Photo] = @Photo, [CustomerType] = @CustomerType WHERE (([ID] = @Original_ID) AND ((@IsNull_CustomerID = 1 AND [CustomerID] IS NULL) OR ([CustomerID] = @Original_CustomerID)) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)) AND ((@IsNull_Gender = 1 AND [Gender] IS NULL) OR ([Gender] = @Original_Gender)) AND ((@IsNull_Address = 1 AND [Address] IS NULL) OR ([Address] = @Original_Address)) AND ((@IsNull_City = 1 AND [City] IS NULL) OR ([City] = @Original_City)) AND ((@IsNull_State = 1 AND [State] IS NULL) OR ([State] = @Original_State)) AND ((@IsNull_ZipCode = 1 AND [ZipCode] IS NULL) OR ([ZipCode] = @Original_ZipCode)) AND ((@IsNull_ContactNo = 1 AND [ContactNo] IS NULL) OR ([ContactNo] = @Original_ContactNo)) AND ((@IsNull_EmailID = 1 AND [EmailID] IS NULL) OR ([EmailID] = @Original_EmailID)) AND ((@IsNull_CustomerType = 1 AND [CustomerType] IS NULL) OR ([CustomerType] = @Original_CustomerType)));
309 SELECT ID, CustomerID, Name, Gender, Address, City, State, ZipCode, ContactNo, EmailID, Remarks, Photo, CustomerType FROM Customer WHERE (ID = @ID)</CommandText>
310 <Parameters>
311 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
312 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@CustomerID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CustomerID" SourceColumnNullMapping="false" SourceVersion="Current" />
313 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
314 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Gender" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Current" />
315 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Current" />
316 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@City" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="false" SourceVersion="Current" />
317 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@State" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="State" SourceColumnNullMapping="false" SourceVersion="Current" />
318 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ZipCode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ZipCode" SourceColumnNullMapping="false" SourceVersion="Current" />
319 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ContactNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Current" />
320 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@EmailID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="false" SourceVersion="Current" />
321 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Remarks" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Remarks" SourceColumnNullMapping="false" SourceVersion="Current" />
322 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Photo" Precision="0" ProviderType="Image" Scale="0" Size="0" SourceColumn="Photo" SourceColumnNullMapping="false" SourceVersion="Current" />
323 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@CustomerType" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CustomerType" SourceColumnNullMapping="false" SourceVersion="Current" />
324 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
325 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CustomerID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerID" SourceColumnNullMapping="true" SourceVersion="Original" />
326 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_CustomerID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CustomerID" SourceColumnNullMapping="false" SourceVersion="Original" />
327 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
328 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
329 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Gender" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="true" SourceVersion="Original" />
330 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Gender" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Original" />
331 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Address" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="true" SourceVersion="Original" />
332 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Original" />
333 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_City" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="true" SourceVersion="Original" />
334 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_City" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="false" SourceVersion="Original" />
335 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_State" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="State" SourceColumnNullMapping="true" SourceVersion="Original" />
336 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_State" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="State" SourceColumnNullMapping="false" SourceVersion="Original" />
337 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ZipCode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ZipCode" SourceColumnNullMapping="true" SourceVersion="Original" />
338 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ZipCode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ZipCode" SourceColumnNullMapping="false" SourceVersion="Original" />
339 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactNo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="true" SourceVersion="Original" />
340 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ContactNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Original" />
341 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EmailID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="true" SourceVersion="Original" />
342 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_EmailID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="false" SourceVersion="Original" />
343 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CustomerType" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerType" SourceColumnNullMapping="true" SourceVersion="Original" />
344 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_CustomerType" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CustomerType" SourceColumnNullMapping="false" SourceVersion="Original" />
345 </Parameters>
346 </DbCommand>
347 </UpdateCommand>
348 </DbSource>
349 </MainSource>
350 <Mappings>
351 <Mapping SourceColumn="ID" DataSetColumn="ID" />
352 <Mapping SourceColumn="CustomerID" DataSetColumn="CustomerID" />
353 <Mapping SourceColumn="Name" DataSetColumn="Name" />
354 <Mapping SourceColumn="Gender" DataSetColumn="Gender" />
355 <Mapping SourceColumn="Address" DataSetColumn="Address" />
356 <Mapping SourceColumn="City" DataSetColumn="City" />
357 <Mapping SourceColumn="State" DataSetColumn="State" />
358 <Mapping SourceColumn="ZipCode" DataSetColumn="ZipCode" />
359 <Mapping SourceColumn="ContactNo" DataSetColumn="ContactNo" />
360 <Mapping SourceColumn="EmailID" DataSetColumn="EmailID" />
361 <Mapping SourceColumn="Remarks" DataSetColumn="Remarks" />
362 <Mapping SourceColumn="Photo" DataSetColumn="Photo" />
363 <Mapping SourceColumn="CustomerType" DataSetColumn="CustomerType" />
364 </Mappings>
365 <Sources />
366 </TableAdapter>
367 <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Invoice_PaymentTableAdapter" GeneratorDataComponentClassName="Invoice_PaymentTableAdapter" Name="Invoice_Payment" UserDataComponentName="Invoice_PaymentTableAdapter">
368 <MainSource>
369 <DbSource ConnectionRef="SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.Invoice_Payment" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
370 <DeleteCommand>
371 <DbCommand CommandType="Text" ModifiedByUser="false">
372 <CommandText>DELETE FROM [dbo].[Invoice_Payment] WHERE (([IP_ID] = @Original_IP_ID) AND ([InvoiceID] = @Original_InvoiceID) AND ([PaymentDate] = @Original_PaymentDate) AND ([TotalPaid] = @Original_TotalPaid) AND ([PaymentMode] = @Original_PaymentMode))</CommandText>
373 <Parameters>
374 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IP_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IP_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
375 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_InvoiceID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InvoiceID" SourceColumnNullMapping="false" SourceVersion="Original" />
376 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_PaymentDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="PaymentDate" SourceColumnNullMapping="false" SourceVersion="Original" />
377 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TotalPaid" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalPaid" SourceColumnNullMapping="false" SourceVersion="Original" />
378 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_PaymentMode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="PaymentMode" SourceColumnNullMapping="false" SourceVersion="Original" />
379 </Parameters>
380 </DbCommand>
381 </DeleteCommand>
382 <InsertCommand>
383 <DbCommand CommandType="Text" ModifiedByUser="false">
384 <CommandText>INSERT INTO [dbo].[Invoice_Payment] ([InvoiceID], [PaymentDate], [TotalPaid], [PaymentMode]) VALUES (@InvoiceID, @PaymentDate, @TotalPaid, @PaymentMode);
385 SELECT IP_ID, InvoiceID, PaymentDate, TotalPaid, PaymentMode FROM Invoice_Payment WHERE (IP_ID = SCOPE_IDENTITY())</CommandText>
386 <Parameters>
387 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@InvoiceID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InvoiceID" SourceColumnNullMapping="false" SourceVersion="Current" />
388 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@PaymentDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="PaymentDate" SourceColumnNullMapping="false" SourceVersion="Current" />
389 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotalPaid" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalPaid" SourceColumnNullMapping="false" SourceVersion="Current" />
390 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@PaymentMode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="PaymentMode" SourceColumnNullMapping="false" SourceVersion="Current" />
391 </Parameters>
392 </DbCommand>
393 </InsertCommand>
394 <SelectCommand>
395 <DbCommand CommandType="Text" ModifiedByUser="false">
396 <CommandText>SELECT IP_ID, InvoiceID, PaymentDate, TotalPaid, PaymentMode FROM dbo.Invoice_Payment</CommandText>
397 <Parameters />
398 </DbCommand>
399 </SelectCommand>
400 <UpdateCommand>
401 <DbCommand CommandType="Text" ModifiedByUser="false">
402 <CommandText>UPDATE [dbo].[Invoice_Payment] SET [InvoiceID] = @InvoiceID, [PaymentDate] = @PaymentDate, [TotalPaid] = @TotalPaid, [PaymentMode] = @PaymentMode WHERE (([IP_ID] = @Original_IP_ID) AND ([InvoiceID] = @Original_InvoiceID) AND ([PaymentDate] = @Original_PaymentDate) AND ([TotalPaid] = @Original_TotalPaid) AND ([PaymentMode] = @Original_PaymentMode));
403 SELECT IP_ID, InvoiceID, PaymentDate, TotalPaid, PaymentMode FROM Invoice_Payment WHERE (IP_ID = @IP_ID)</CommandText>
404 <Parameters>
405 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@InvoiceID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InvoiceID" SourceColumnNullMapping="false" SourceVersion="Current" />
406 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@PaymentDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="PaymentDate" SourceColumnNullMapping="false" SourceVersion="Current" />
407 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotalPaid" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalPaid" SourceColumnNullMapping="false" SourceVersion="Current" />
408 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@PaymentMode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="PaymentMode" SourceColumnNullMapping="false" SourceVersion="Current" />
409 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IP_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IP_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
410 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_InvoiceID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InvoiceID" SourceColumnNullMapping="false" SourceVersion="Original" />
411 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_PaymentDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="PaymentDate" SourceColumnNullMapping="false" SourceVersion="Original" />
412 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TotalPaid" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalPaid" SourceColumnNullMapping="false" SourceVersion="Original" />
413 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_PaymentMode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="PaymentMode" SourceColumnNullMapping="false" SourceVersion="Original" />
414 <Parameter AllowDbNull="false" AutogeneratedName="IP_ID" ColumnName="IP_ID" DataSourceName="SIS_DB.dbo.Invoice_Payment" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IP_ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="IP_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
415 </Parameters>
416 </DbCommand>
417 </UpdateCommand>
418 </DbSource>
419 </MainSource>
420 <Mappings>
421 <Mapping SourceColumn="IP_ID" DataSetColumn="IP_ID" />
422 <Mapping SourceColumn="InvoiceID" DataSetColumn="InvoiceID" />
423 <Mapping SourceColumn="PaymentDate" DataSetColumn="PaymentDate" />
424 <Mapping SourceColumn="TotalPaid" DataSetColumn="TotalPaid" />
425 <Mapping SourceColumn="PaymentMode" DataSetColumn="PaymentMode" />
426 </Mappings>
427 <Sources />
428 </TableAdapter>
429 <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Invoice_ProductTableAdapter" GeneratorDataComponentClassName="Invoice_ProductTableAdapter" Name="Invoice_Product" UserDataComponentName="Invoice_ProductTableAdapter">
430 <MainSource>
431 <DbSource ConnectionRef="SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.Invoice_Product" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
432 <DeleteCommand>
433 <DbCommand CommandType="Text" ModifiedByUser="false">
434 <CommandText>DELETE FROM [dbo].[Invoice_Product] WHERE (([IPo_ID] = @Original_IPo_ID) AND ([InvoiceID] = @Original_InvoiceID) AND ([ProductID] = @Original_ProductID) AND ([CostPrice] = @Original_CostPrice) AND ([SellingPrice] = @Original_SellingPrice) AND ([Margin] = @Original_Margin) AND ([Qty] = @Original_Qty) AND ([Amount] = @Original_Amount) AND ([DiscountPer] = @Original_DiscountPer) AND ([Discount] = @Original_Discount) AND ([VATPer] = @Original_VATPer) AND ([VAT] = @Original_VAT) AND ([TotalAmount] = @Original_TotalAmount))</CommandText>
435 <Parameters>
436 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IPo_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IPo_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
437 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_InvoiceID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InvoiceID" SourceColumnNullMapping="false" SourceVersion="Original" />
438 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Original" />
439 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_CostPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="CostPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
440 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_SellingPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="SellingPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
441 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Margin" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Margin" SourceColumnNullMapping="false" SourceVersion="Original" />
442 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Original" />
443 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Amount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Original" />
444 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_DiscountPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="DiscountPer" SourceColumnNullMapping="false" SourceVersion="Original" />
445 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Discount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Original" />
446 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_VATPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VATPer" SourceColumnNullMapping="false" SourceVersion="Original" />
447 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_VAT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VAT" SourceColumnNullMapping="false" SourceVersion="Original" />
448 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TotalAmount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalAmount" SourceColumnNullMapping="false" SourceVersion="Original" />
449 </Parameters>
450 </DbCommand>
451 </DeleteCommand>
452 <InsertCommand>
453 <DbCommand CommandType="Text" ModifiedByUser="false">
454 <CommandText>INSERT INTO [dbo].[Invoice_Product] ([InvoiceID], [ProductID], [CostPrice], [SellingPrice], [Margin], [Qty], [Amount], [DiscountPer], [Discount], [VATPer], [VAT], [TotalAmount]) VALUES (@InvoiceID, @ProductID, @CostPrice, @SellingPrice, @Margin, @Qty, @Amount, @DiscountPer, @Discount, @VATPer, @VAT, @TotalAmount);
455 SELECT IPo_ID, InvoiceID, ProductID, CostPrice, SellingPrice, Margin, Qty, Amount, DiscountPer, Discount, VATPer, VAT, TotalAmount FROM Invoice_Product WHERE (IPo_ID = SCOPE_IDENTITY())</CommandText>
456 <Parameters>
457 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@InvoiceID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InvoiceID" SourceColumnNullMapping="false" SourceVersion="Current" />
458 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Current" />
459 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@CostPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="CostPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
460 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@SellingPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="SellingPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
461 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Margin" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Margin" SourceColumnNullMapping="false" SourceVersion="Current" />
462 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Current" />
463 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Amount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Current" />
464 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@DiscountPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="DiscountPer" SourceColumnNullMapping="false" SourceVersion="Current" />
465 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Discount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Current" />
466 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@VATPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VATPer" SourceColumnNullMapping="false" SourceVersion="Current" />
467 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@VAT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VAT" SourceColumnNullMapping="false" SourceVersion="Current" />
468 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotalAmount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalAmount" SourceColumnNullMapping="false" SourceVersion="Current" />
469 </Parameters>
470 </DbCommand>
471 </InsertCommand>
472 <SelectCommand>
473 <DbCommand CommandType="Text" ModifiedByUser="false">
474 <CommandText>SELECT IPo_ID, InvoiceID, ProductID, CostPrice, SellingPrice, Margin, Qty, Amount, DiscountPer, Discount, VATPer, VAT, TotalAmount FROM dbo.Invoice_Product</CommandText>
475 <Parameters />
476 </DbCommand>
477 </SelectCommand>
478 <UpdateCommand>
479 <DbCommand CommandType="Text" ModifiedByUser="false">
480 <CommandText>UPDATE [dbo].[Invoice_Product] SET [InvoiceID] = @InvoiceID, [ProductID] = @ProductID, [CostPrice] = @CostPrice, [SellingPrice] = @SellingPrice, [Margin] = @Margin, [Qty] = @Qty, [Amount] = @Amount, [DiscountPer] = @DiscountPer, [Discount] = @Discount, [VATPer] = @VATPer, [VAT] = @VAT, [TotalAmount] = @TotalAmount WHERE (([IPo_ID] = @Original_IPo_ID) AND ([InvoiceID] = @Original_InvoiceID) AND ([ProductID] = @Original_ProductID) AND ([CostPrice] = @Original_CostPrice) AND ([SellingPrice] = @Original_SellingPrice) AND ([Margin] = @Original_Margin) AND ([Qty] = @Original_Qty) AND ([Amount] = @Original_Amount) AND ([DiscountPer] = @Original_DiscountPer) AND ([Discount] = @Original_Discount) AND ([VATPer] = @Original_VATPer) AND ([VAT] = @Original_VAT) AND ([TotalAmount] = @Original_TotalAmount));
481 SELECT IPo_ID, InvoiceID, ProductID, CostPrice, SellingPrice, Margin, Qty, Amount, DiscountPer, Discount, VATPer, VAT, TotalAmount FROM Invoice_Product WHERE (IPo_ID = @IPo_ID)</CommandText>
482 <Parameters>
483 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@InvoiceID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InvoiceID" SourceColumnNullMapping="false" SourceVersion="Current" />
484 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Current" />
485 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@CostPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="CostPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
486 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@SellingPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="SellingPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
487 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Margin" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Margin" SourceColumnNullMapping="false" SourceVersion="Current" />
488 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Current" />
489 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Amount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Current" />
490 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@DiscountPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="DiscountPer" SourceColumnNullMapping="false" SourceVersion="Current" />
491 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Discount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Current" />
492 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@VATPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VATPer" SourceColumnNullMapping="false" SourceVersion="Current" />
493 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@VAT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VAT" SourceColumnNullMapping="false" SourceVersion="Current" />
494 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotalAmount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalAmount" SourceColumnNullMapping="false" SourceVersion="Current" />
495 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IPo_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IPo_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
496 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_InvoiceID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InvoiceID" SourceColumnNullMapping="false" SourceVersion="Original" />
497 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Original" />
498 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_CostPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="CostPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
499 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_SellingPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="SellingPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
500 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Margin" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Margin" SourceColumnNullMapping="false" SourceVersion="Original" />
501 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Original" />
502 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Amount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Original" />
503 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_DiscountPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="DiscountPer" SourceColumnNullMapping="false" SourceVersion="Original" />
504 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Discount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Original" />
505 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_VATPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VATPer" SourceColumnNullMapping="false" SourceVersion="Original" />
506 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_VAT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VAT" SourceColumnNullMapping="false" SourceVersion="Original" />
507 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TotalAmount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalAmount" SourceColumnNullMapping="false" SourceVersion="Original" />
508 <Parameter AllowDbNull="false" AutogeneratedName="IPo_ID" ColumnName="IPo_ID" DataSourceName="SIS_DB.dbo.Invoice_Product" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IPo_ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="IPo_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
509 </Parameters>
510 </DbCommand>
511 </UpdateCommand>
512 </DbSource>
513 </MainSource>
514 <Mappings>
515 <Mapping SourceColumn="IPo_ID" DataSetColumn="IPo_ID" />
516 <Mapping SourceColumn="InvoiceID" DataSetColumn="InvoiceID" />
517 <Mapping SourceColumn="ProductID" DataSetColumn="ProductID" />
518 <Mapping SourceColumn="CostPrice" DataSetColumn="CostPrice" />
519 <Mapping SourceColumn="SellingPrice" DataSetColumn="SellingPrice" />
520 <Mapping SourceColumn="Margin" DataSetColumn="Margin" />
521 <Mapping SourceColumn="Qty" DataSetColumn="Qty" />
522 <Mapping SourceColumn="Amount" DataSetColumn="Amount" />
523 <Mapping SourceColumn="DiscountPer" DataSetColumn="DiscountPer" />
524 <Mapping SourceColumn="Discount" DataSetColumn="Discount" />
525 <Mapping SourceColumn="VATPer" DataSetColumn="VATPer" />
526 <Mapping SourceColumn="VAT" DataSetColumn="VAT" />
527 <Mapping SourceColumn="TotalAmount" DataSetColumn="TotalAmount" />
528 </Mappings>
529 <Sources />
530 </TableAdapter>
531 <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Invoice1_PaymentTableAdapter" GeneratorDataComponentClassName="Invoice1_PaymentTableAdapter" Name="Invoice1_Payment" UserDataComponentName="Invoice1_PaymentTableAdapter">
532 <MainSource>
533 <DbSource ConnectionRef="SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.Invoice1_Payment" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
534 <DeleteCommand>
535 <DbCommand CommandType="Text" ModifiedByUser="false">
536 <CommandText>DELETE FROM [dbo].[Invoice1_Payment] WHERE (([IP_ID] = @Original_IP_ID) AND ([InvoiceID] = @Original_InvoiceID) AND ([PaymentDate] = @Original_PaymentDate) AND ([TotalPaid] = @Original_TotalPaid) AND ([PaymentMode] = @Original_PaymentMode))</CommandText>
537 <Parameters>
538 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IP_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IP_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
539 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_InvoiceID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InvoiceID" SourceColumnNullMapping="false" SourceVersion="Original" />
540 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_PaymentDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="PaymentDate" SourceColumnNullMapping="false" SourceVersion="Original" />
541 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TotalPaid" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalPaid" SourceColumnNullMapping="false" SourceVersion="Original" />
542 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_PaymentMode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="PaymentMode" SourceColumnNullMapping="false" SourceVersion="Original" />
543 </Parameters>
544 </DbCommand>
545 </DeleteCommand>
546 <InsertCommand>
547 <DbCommand CommandType="Text" ModifiedByUser="false">
548 <CommandText>INSERT INTO [dbo].[Invoice1_Payment] ([InvoiceID], [PaymentDate], [TotalPaid], [PaymentMode]) VALUES (@InvoiceID, @PaymentDate, @TotalPaid, @PaymentMode);
549 SELECT IP_ID, InvoiceID, PaymentDate, TotalPaid, PaymentMode FROM Invoice1_Payment WHERE (IP_ID = SCOPE_IDENTITY())</CommandText>
550 <Parameters>
551 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@InvoiceID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InvoiceID" SourceColumnNullMapping="false" SourceVersion="Current" />
552 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@PaymentDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="PaymentDate" SourceColumnNullMapping="false" SourceVersion="Current" />
553 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotalPaid" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalPaid" SourceColumnNullMapping="false" SourceVersion="Current" />
554 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@PaymentMode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="PaymentMode" SourceColumnNullMapping="false" SourceVersion="Current" />
555 </Parameters>
556 </DbCommand>
557 </InsertCommand>
558 <SelectCommand>
559 <DbCommand CommandType="Text" ModifiedByUser="false">
560 <CommandText>SELECT IP_ID, InvoiceID, PaymentDate, TotalPaid, PaymentMode FROM dbo.Invoice1_Payment</CommandText>
561 <Parameters />
562 </DbCommand>
563 </SelectCommand>
564 <UpdateCommand>
565 <DbCommand CommandType="Text" ModifiedByUser="false">
566 <CommandText>UPDATE [dbo].[Invoice1_Payment] SET [InvoiceID] = @InvoiceID, [PaymentDate] = @PaymentDate, [TotalPaid] = @TotalPaid, [PaymentMode] = @PaymentMode WHERE (([IP_ID] = @Original_IP_ID) AND ([InvoiceID] = @Original_InvoiceID) AND ([PaymentDate] = @Original_PaymentDate) AND ([TotalPaid] = @Original_TotalPaid) AND ([PaymentMode] = @Original_PaymentMode));
567 SELECT IP_ID, InvoiceID, PaymentDate, TotalPaid, PaymentMode FROM Invoice1_Payment WHERE (IP_ID = @IP_ID)</CommandText>
568 <Parameters>
569 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@InvoiceID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InvoiceID" SourceColumnNullMapping="false" SourceVersion="Current" />
570 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@PaymentDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="PaymentDate" SourceColumnNullMapping="false" SourceVersion="Current" />
571 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotalPaid" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalPaid" SourceColumnNullMapping="false" SourceVersion="Current" />
572 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@PaymentMode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="PaymentMode" SourceColumnNullMapping="false" SourceVersion="Current" />
573 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IP_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IP_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
574 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_InvoiceID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InvoiceID" SourceColumnNullMapping="false" SourceVersion="Original" />
575 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_PaymentDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="PaymentDate" SourceColumnNullMapping="false" SourceVersion="Original" />
576 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TotalPaid" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalPaid" SourceColumnNullMapping="false" SourceVersion="Original" />
577 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_PaymentMode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="PaymentMode" SourceColumnNullMapping="false" SourceVersion="Original" />
578 <Parameter AllowDbNull="false" AutogeneratedName="IP_ID" ColumnName="IP_ID" DataSourceName="SIS_DB.dbo.Invoice1_Payment" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IP_ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="IP_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
579 </Parameters>
580 </DbCommand>
581 </UpdateCommand>
582 </DbSource>
583 </MainSource>
584 <Mappings>
585 <Mapping SourceColumn="IP_ID" DataSetColumn="IP_ID" />
586 <Mapping SourceColumn="InvoiceID" DataSetColumn="InvoiceID" />
587 <Mapping SourceColumn="PaymentDate" DataSetColumn="PaymentDate" />
588 <Mapping SourceColumn="TotalPaid" DataSetColumn="TotalPaid" />
589 <Mapping SourceColumn="PaymentMode" DataSetColumn="PaymentMode" />
590 </Mappings>
591 <Sources />
592 </TableAdapter>
593 <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Invoice1_ProductTableAdapter" GeneratorDataComponentClassName="Invoice1_ProductTableAdapter" Name="Invoice1_Product" UserDataComponentName="Invoice1_ProductTableAdapter">
594 <MainSource>
595 <DbSource ConnectionRef="SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.Invoice1_Product" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
596 <DeleteCommand>
597 <DbCommand CommandType="Text" ModifiedByUser="false">
598 <CommandText>DELETE FROM [dbo].[Invoice1_Product] WHERE (([Ipo_ID] = @Original_Ipo_ID) AND ([InvoiceID] = @Original_InvoiceID) AND ([ProductID] = @Original_ProductID) AND ([CostPrice] = @Original_CostPrice) AND ([SellingPrice] = @Original_SellingPrice) AND ([Margin] = @Original_Margin) AND ([Qty] = @Original_Qty) AND ([Amount] = @Original_Amount) AND ([DiscountPer] = @Original_DiscountPer) AND ([Discount] = @Original_Discount) AND ([VATPer] = @Original_VATPer) AND ([VAT] = @Original_VAT) AND ([TotalAmount] = @Original_TotalAmount))</CommandText>
599 <Parameters>
600 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Ipo_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Ipo_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
601 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_InvoiceID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InvoiceID" SourceColumnNullMapping="false" SourceVersion="Original" />
602 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Original" />
603 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_CostPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="CostPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
604 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_SellingPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="SellingPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
605 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Margin" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Margin" SourceColumnNullMapping="false" SourceVersion="Original" />
606 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Original" />
607 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Amount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Original" />
608 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_DiscountPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="DiscountPer" SourceColumnNullMapping="false" SourceVersion="Original" />
609 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Discount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Original" />
610 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_VATPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VATPer" SourceColumnNullMapping="false" SourceVersion="Original" />
611 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_VAT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VAT" SourceColumnNullMapping="false" SourceVersion="Original" />
612 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TotalAmount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalAmount" SourceColumnNullMapping="false" SourceVersion="Original" />
613 </Parameters>
614 </DbCommand>
615 </DeleteCommand>
616 <InsertCommand>
617 <DbCommand CommandType="Text" ModifiedByUser="false">
618 <CommandText>INSERT INTO [dbo].[Invoice1_Product] ([InvoiceID], [ProductID], [CostPrice], [SellingPrice], [Margin], [Qty], [Amount], [DiscountPer], [Discount], [VATPer], [VAT], [TotalAmount]) VALUES (@InvoiceID, @ProductID, @CostPrice, @SellingPrice, @Margin, @Qty, @Amount, @DiscountPer, @Discount, @VATPer, @VAT, @TotalAmount);
619 SELECT Ipo_ID, InvoiceID, ProductID, CostPrice, SellingPrice, Margin, Qty, Amount, DiscountPer, Discount, VATPer, VAT, TotalAmount FROM Invoice1_Product WHERE (Ipo_ID = SCOPE_IDENTITY())</CommandText>
620 <Parameters>
621 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@InvoiceID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InvoiceID" SourceColumnNullMapping="false" SourceVersion="Current" />
622 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Current" />
623 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@CostPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="CostPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
624 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@SellingPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="SellingPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
625 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Margin" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Margin" SourceColumnNullMapping="false" SourceVersion="Current" />
626 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Current" />
627 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Amount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Current" />
628 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@DiscountPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="DiscountPer" SourceColumnNullMapping="false" SourceVersion="Current" />
629 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Discount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Current" />
630 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@VATPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VATPer" SourceColumnNullMapping="false" SourceVersion="Current" />
631 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@VAT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VAT" SourceColumnNullMapping="false" SourceVersion="Current" />
632 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotalAmount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalAmount" SourceColumnNullMapping="false" SourceVersion="Current" />
633 </Parameters>
634 </DbCommand>
635 </InsertCommand>
636 <SelectCommand>
637 <DbCommand CommandType="Text" ModifiedByUser="false">
638 <CommandText>SELECT Ipo_ID, InvoiceID, ProductID, CostPrice, SellingPrice, Margin, Qty, Amount, DiscountPer, Discount, VATPer, VAT, TotalAmount FROM dbo.Invoice1_Product</CommandText>
639 <Parameters />
640 </DbCommand>
641 </SelectCommand>
642 <UpdateCommand>
643 <DbCommand CommandType="Text" ModifiedByUser="false">
644 <CommandText>UPDATE [dbo].[Invoice1_Product] SET [InvoiceID] = @InvoiceID, [ProductID] = @ProductID, [CostPrice] = @CostPrice, [SellingPrice] = @SellingPrice, [Margin] = @Margin, [Qty] = @Qty, [Amount] = @Amount, [DiscountPer] = @DiscountPer, [Discount] = @Discount, [VATPer] = @VATPer, [VAT] = @VAT, [TotalAmount] = @TotalAmount WHERE (([Ipo_ID] = @Original_Ipo_ID) AND ([InvoiceID] = @Original_InvoiceID) AND ([ProductID] = @Original_ProductID) AND ([CostPrice] = @Original_CostPrice) AND ([SellingPrice] = @Original_SellingPrice) AND ([Margin] = @Original_Margin) AND ([Qty] = @Original_Qty) AND ([Amount] = @Original_Amount) AND ([DiscountPer] = @Original_DiscountPer) AND ([Discount] = @Original_Discount) AND ([VATPer] = @Original_VATPer) AND ([VAT] = @Original_VAT) AND ([TotalAmount] = @Original_TotalAmount));
645 SELECT Ipo_ID, InvoiceID, ProductID, CostPrice, SellingPrice, Margin, Qty, Amount, DiscountPer, Discount, VATPer, VAT, TotalAmount FROM Invoice1_Product WHERE (Ipo_ID = @Ipo_ID)</CommandText>
646 <Parameters>
647 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@InvoiceID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InvoiceID" SourceColumnNullMapping="false" SourceVersion="Current" />
648 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Current" />
649 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@CostPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="CostPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
650 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@SellingPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="SellingPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
651 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Margin" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Margin" SourceColumnNullMapping="false" SourceVersion="Current" />
652 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Current" />
653 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Amount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Current" />
654 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@DiscountPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="DiscountPer" SourceColumnNullMapping="false" SourceVersion="Current" />
655 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Discount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Current" />
656 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@VATPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VATPer" SourceColumnNullMapping="false" SourceVersion="Current" />
657 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@VAT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VAT" SourceColumnNullMapping="false" SourceVersion="Current" />
658 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotalAmount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalAmount" SourceColumnNullMapping="false" SourceVersion="Current" />
659 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Ipo_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Ipo_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
660 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_InvoiceID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InvoiceID" SourceColumnNullMapping="false" SourceVersion="Original" />
661 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Original" />
662 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_CostPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="CostPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
663 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_SellingPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="SellingPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
664 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Margin" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Margin" SourceColumnNullMapping="false" SourceVersion="Original" />
665 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Original" />
666 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Amount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Original" />
667 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_DiscountPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="DiscountPer" SourceColumnNullMapping="false" SourceVersion="Original" />
668 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Discount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Original" />
669 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_VATPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VATPer" SourceColumnNullMapping="false" SourceVersion="Original" />
670 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_VAT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VAT" SourceColumnNullMapping="false" SourceVersion="Original" />
671 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TotalAmount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalAmount" SourceColumnNullMapping="false" SourceVersion="Original" />
672 <Parameter AllowDbNull="false" AutogeneratedName="Ipo_ID" ColumnName="Ipo_ID" DataSourceName="SIS_DB.dbo.Invoice1_Product" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Ipo_ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Ipo_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
673 </Parameters>
674 </DbCommand>
675 </UpdateCommand>
676 </DbSource>
677 </MainSource>
678 <Mappings>
679 <Mapping SourceColumn="Ipo_ID" DataSetColumn="Ipo_ID" />
680 <Mapping SourceColumn="InvoiceID" DataSetColumn="InvoiceID" />
681 <Mapping SourceColumn="ProductID" DataSetColumn="ProductID" />
682 <Mapping SourceColumn="CostPrice" DataSetColumn="CostPrice" />
683 <Mapping SourceColumn="SellingPrice" DataSetColumn="SellingPrice" />
684 <Mapping SourceColumn="Margin" DataSetColumn="Margin" />
685 <Mapping SourceColumn="Qty" DataSetColumn="Qty" />
686 <Mapping SourceColumn="Amount" DataSetColumn="Amount" />
687 <Mapping SourceColumn="DiscountPer" DataSetColumn="DiscountPer" />
688 <Mapping SourceColumn="Discount" DataSetColumn="Discount" />
689 <Mapping SourceColumn="VATPer" DataSetColumn="VATPer" />
690 <Mapping SourceColumn="VAT" DataSetColumn="VAT" />
691 <Mapping SourceColumn="TotalAmount" DataSetColumn="TotalAmount" />
692 </Mappings>
693 <Sources />
694 </TableAdapter>
695 <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="InvoiceInfoTableAdapter" GeneratorDataComponentClassName="InvoiceInfoTableAdapter" Name="InvoiceInfo" UserDataComponentName="InvoiceInfoTableAdapter">
696 <MainSource>
697 <DbSource ConnectionRef="SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.InvoiceInfo" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
698 <DeleteCommand>
699 <DbCommand CommandType="Text" ModifiedByUser="false">
700 <CommandText>DELETE FROM [dbo].[InvoiceInfo] WHERE (([Inv_ID] = @Original_Inv_ID) AND ([InvoiceNo] = @Original_InvoiceNo) AND ([InvoiceDate] = @Original_InvoiceDate) AND ([CustomerID] = @Original_CustomerID) AND ([GrandTotal] = @Original_GrandTotal) AND ([TotalPaid] = @Original_TotalPaid) AND ([Balance] = @Original_Balance))</CommandText>
701 <Parameters>
702 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Inv_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Inv_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
703 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_InvoiceNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="InvoiceNo" SourceColumnNullMapping="false" SourceVersion="Original" />
704 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_InvoiceDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="InvoiceDate" SourceColumnNullMapping="false" SourceVersion="Original" />
705 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CustomerID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerID" SourceColumnNullMapping="false" SourceVersion="Original" />
706 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_GrandTotal" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Original" />
707 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TotalPaid" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalPaid" SourceColumnNullMapping="false" SourceVersion="Original" />
708 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Balance" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Balance" SourceColumnNullMapping="false" SourceVersion="Original" />
709 </Parameters>
710 </DbCommand>
711 </DeleteCommand>
712 <InsertCommand>
713 <DbCommand CommandType="Text" ModifiedByUser="false">
714 <CommandText>INSERT INTO [dbo].[InvoiceInfo] ([Inv_ID], [InvoiceNo], [InvoiceDate], [CustomerID], [GrandTotal], [TotalPaid], [Balance], [Remarks]) VALUES (@Inv_ID, @InvoiceNo, @InvoiceDate, @CustomerID, @GrandTotal, @TotalPaid, @Balance, @Remarks);
715 SELECT Inv_ID, InvoiceNo, InvoiceDate, CustomerID, GrandTotal, TotalPaid, Balance, Remarks FROM InvoiceInfo WHERE (Inv_ID = @Inv_ID)</CommandText>
716 <Parameters>
717 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Inv_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Inv_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
718 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@InvoiceNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="InvoiceNo" SourceColumnNullMapping="false" SourceVersion="Current" />
719 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@InvoiceDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="InvoiceDate" SourceColumnNullMapping="false" SourceVersion="Current" />
720 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CustomerID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerID" SourceColumnNullMapping="false" SourceVersion="Current" />
721 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@GrandTotal" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
722 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotalPaid" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalPaid" SourceColumnNullMapping="false" SourceVersion="Current" />
723 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Balance" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Balance" SourceColumnNullMapping="false" SourceVersion="Current" />
724 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Remarks" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Remarks" SourceColumnNullMapping="false" SourceVersion="Current" />
725 </Parameters>
726 </DbCommand>
727 </InsertCommand>
728 <SelectCommand>
729 <DbCommand CommandType="Text" ModifiedByUser="false">
730 <CommandText>SELECT Inv_ID, InvoiceNo, InvoiceDate, CustomerID, GrandTotal, TotalPaid, Balance, Remarks FROM dbo.InvoiceInfo</CommandText>
731 <Parameters />
732 </DbCommand>
733 </SelectCommand>
734 <UpdateCommand>
735 <DbCommand CommandType="Text" ModifiedByUser="false">
736 <CommandText>UPDATE [dbo].[InvoiceInfo] SET [Inv_ID] = @Inv_ID, [InvoiceNo] = @InvoiceNo, [InvoiceDate] = @InvoiceDate, [CustomerID] = @CustomerID, [GrandTotal] = @GrandTotal, [TotalPaid] = @TotalPaid, [Balance] = @Balance, [Remarks] = @Remarks WHERE (([Inv_ID] = @Original_Inv_ID) AND ([InvoiceNo] = @Original_InvoiceNo) AND ([InvoiceDate] = @Original_InvoiceDate) AND ([CustomerID] = @Original_CustomerID) AND ([GrandTotal] = @Original_GrandTotal) AND ([TotalPaid] = @Original_TotalPaid) AND ([Balance] = @Original_Balance));
737 SELECT Inv_ID, InvoiceNo, InvoiceDate, CustomerID, GrandTotal, TotalPaid, Balance, Remarks FROM InvoiceInfo WHERE (Inv_ID = @Inv_ID)</CommandText>
738 <Parameters>
739 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Inv_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Inv_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
740 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@InvoiceNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="InvoiceNo" SourceColumnNullMapping="false" SourceVersion="Current" />
741 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@InvoiceDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="InvoiceDate" SourceColumnNullMapping="false" SourceVersion="Current" />
742 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CustomerID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerID" SourceColumnNullMapping="false" SourceVersion="Current" />
743 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@GrandTotal" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
744 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotalPaid" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalPaid" SourceColumnNullMapping="false" SourceVersion="Current" />
745 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Balance" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Balance" SourceColumnNullMapping="false" SourceVersion="Current" />
746 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Remarks" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Remarks" SourceColumnNullMapping="false" SourceVersion="Current" />
747 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Inv_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Inv_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
748 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_InvoiceNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="InvoiceNo" SourceColumnNullMapping="false" SourceVersion="Original" />
749 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_InvoiceDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="InvoiceDate" SourceColumnNullMapping="false" SourceVersion="Original" />
750 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CustomerID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerID" SourceColumnNullMapping="false" SourceVersion="Original" />
751 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_GrandTotal" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Original" />
752 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TotalPaid" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalPaid" SourceColumnNullMapping="false" SourceVersion="Original" />
753 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Balance" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Balance" SourceColumnNullMapping="false" SourceVersion="Original" />
754 </Parameters>
755 </DbCommand>
756 </UpdateCommand>
757 </DbSource>
758 </MainSource>
759 <Mappings>
760 <Mapping SourceColumn="Inv_ID" DataSetColumn="Inv_ID" />
761 <Mapping SourceColumn="InvoiceNo" DataSetColumn="InvoiceNo" />
762 <Mapping SourceColumn="InvoiceDate" DataSetColumn="InvoiceDate" />
763 <Mapping SourceColumn="CustomerID" DataSetColumn="CustomerID" />
764 <Mapping SourceColumn="GrandTotal" DataSetColumn="GrandTotal" />
765 <Mapping SourceColumn="TotalPaid" DataSetColumn="TotalPaid" />
766 <Mapping SourceColumn="Balance" DataSetColumn="Balance" />
767 <Mapping SourceColumn="Remarks" DataSetColumn="Remarks" />
768 </Mappings>
769 <Sources />
770 </TableAdapter>
771 <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="InvoiceInfo1TableAdapter" GeneratorDataComponentClassName="InvoiceInfo1TableAdapter" Name="InvoiceInfo1" UserDataComponentName="InvoiceInfo1TableAdapter">
772 <MainSource>
773 <DbSource ConnectionRef="SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.InvoiceInfo1" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
774 <DeleteCommand>
775 <DbCommand CommandType="Text" ModifiedByUser="false">
776 <CommandText>DELETE FROM [dbo].[InvoiceInfo1] WHERE (([Inv_ID] = @Original_Inv_ID) AND ([InvoiceNo] = @Original_InvoiceNo) AND ([InvoiceDate] = @Original_InvoiceDate) AND ([ServiceID] = @Original_ServiceID) AND ([RepairCharges] = @Original_RepairCharges) AND ([Upfront] = @Original_Upfront) AND ([ProductCharges] = @Original_ProductCharges) AND ([ServiceTaxPer] = @Original_ServiceTaxPer) AND ([ServiceTax] = @Original_ServiceTax) AND ([GrandTotal] = @Original_GrandTotal) AND ([TotalPaid] = @Original_TotalPaid) AND ([Balance] = @Original_Balance))</CommandText>
777 <Parameters>
778 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Inv_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Inv_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
779 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_InvoiceNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="InvoiceNo" SourceColumnNullMapping="false" SourceVersion="Original" />
780 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_InvoiceDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="InvoiceDate" SourceColumnNullMapping="false" SourceVersion="Original" />
781 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ServiceID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ServiceID" SourceColumnNullMapping="false" SourceVersion="Original" />
782 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_RepairCharges" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="RepairCharges" SourceColumnNullMapping="false" SourceVersion="Original" />
783 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Upfront" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Upfront" SourceColumnNullMapping="false" SourceVersion="Original" />
784 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_ProductCharges" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="ProductCharges" SourceColumnNullMapping="false" SourceVersion="Original" />
785 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_ServiceTaxPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="ServiceTaxPer" SourceColumnNullMapping="false" SourceVersion="Original" />
786 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_ServiceTax" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="ServiceTax" SourceColumnNullMapping="false" SourceVersion="Original" />
787 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_GrandTotal" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Original" />
788 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TotalPaid" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalPaid" SourceColumnNullMapping="false" SourceVersion="Original" />
789 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Balance" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Balance" SourceColumnNullMapping="false" SourceVersion="Original" />
790 </Parameters>
791 </DbCommand>
792 </DeleteCommand>
793 <InsertCommand>
794 <DbCommand CommandType="Text" ModifiedByUser="false">
795 <CommandText>INSERT INTO [dbo].[InvoiceInfo1] ([Inv_ID], [InvoiceNo], [InvoiceDate], [ServiceID], [RepairCharges], [Upfront], [ProductCharges], [ServiceTaxPer], [ServiceTax], [GrandTotal], [TotalPaid], [Balance], [Remarks]) VALUES (@Inv_ID, @InvoiceNo, @InvoiceDate, @ServiceID, @RepairCharges, @Upfront, @ProductCharges, @ServiceTaxPer, @ServiceTax, @GrandTotal, @TotalPaid, @Balance, @Remarks);
796 SELECT Inv_ID, InvoiceNo, InvoiceDate, ServiceID, RepairCharges, Upfront, ProductCharges, ServiceTaxPer, ServiceTax, GrandTotal, TotalPaid, Balance, Remarks FROM InvoiceInfo1 WHERE (Inv_ID = @Inv_ID)</CommandText>
797 <Parameters>
798 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Inv_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Inv_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
799 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@InvoiceNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="InvoiceNo" SourceColumnNullMapping="false" SourceVersion="Current" />
800 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@InvoiceDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="InvoiceDate" SourceColumnNullMapping="false" SourceVersion="Current" />
801 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ServiceID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ServiceID" SourceColumnNullMapping="false" SourceVersion="Current" />
802 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@RepairCharges" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="RepairCharges" SourceColumnNullMapping="false" SourceVersion="Current" />
803 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Upfront" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Upfront" SourceColumnNullMapping="false" SourceVersion="Current" />
804 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@ProductCharges" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="ProductCharges" SourceColumnNullMapping="false" SourceVersion="Current" />
805 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@ServiceTaxPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="ServiceTaxPer" SourceColumnNullMapping="false" SourceVersion="Current" />
806 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@ServiceTax" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="ServiceTax" SourceColumnNullMapping="false" SourceVersion="Current" />
807 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@GrandTotal" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
808 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotalPaid" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalPaid" SourceColumnNullMapping="false" SourceVersion="Current" />
809 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Balance" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Balance" SourceColumnNullMapping="false" SourceVersion="Current" />
810 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Remarks" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Remarks" SourceColumnNullMapping="false" SourceVersion="Current" />
811 </Parameters>
812 </DbCommand>
813 </InsertCommand>
814 <SelectCommand>
815 <DbCommand CommandType="Text" ModifiedByUser="false">
816 <CommandText>SELECT Inv_ID, InvoiceNo, InvoiceDate, ServiceID, RepairCharges, Upfront, ProductCharges, ServiceTaxPer, ServiceTax, GrandTotal, TotalPaid, Balance, Remarks FROM dbo.InvoiceInfo1</CommandText>
817 <Parameters />
818 </DbCommand>
819 </SelectCommand>
820 <UpdateCommand>
821 <DbCommand CommandType="Text" ModifiedByUser="false">
822 <CommandText>UPDATE [dbo].[InvoiceInfo1] SET [Inv_ID] = @Inv_ID, [InvoiceNo] = @InvoiceNo, [InvoiceDate] = @InvoiceDate, [ServiceID] = @ServiceID, [RepairCharges] = @RepairCharges, [Upfront] = @Upfront, [ProductCharges] = @ProductCharges, [ServiceTaxPer] = @ServiceTaxPer, [ServiceTax] = @ServiceTax, [GrandTotal] = @GrandTotal, [TotalPaid] = @TotalPaid, [Balance] = @Balance, [Remarks] = @Remarks WHERE (([Inv_ID] = @Original_Inv_ID) AND ([InvoiceNo] = @Original_InvoiceNo) AND ([InvoiceDate] = @Original_InvoiceDate) AND ([ServiceID] = @Original_ServiceID) AND ([RepairCharges] = @Original_RepairCharges) AND ([Upfront] = @Original_Upfront) AND ([ProductCharges] = @Original_ProductCharges) AND ([ServiceTaxPer] = @Original_ServiceTaxPer) AND ([ServiceTax] = @Original_ServiceTax) AND ([GrandTotal] = @Original_GrandTotal) AND ([TotalPaid] = @Original_TotalPaid) AND ([Balance] = @Original_Balance));
823 SELECT Inv_ID, InvoiceNo, InvoiceDate, ServiceID, RepairCharges, Upfront, ProductCharges, ServiceTaxPer, ServiceTax, GrandTotal, TotalPaid, Balance, Remarks FROM InvoiceInfo1 WHERE (Inv_ID = @Inv_ID)</CommandText>
824 <Parameters>
825 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Inv_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Inv_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
826 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@InvoiceNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="InvoiceNo" SourceColumnNullMapping="false" SourceVersion="Current" />
827 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@InvoiceDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="InvoiceDate" SourceColumnNullMapping="false" SourceVersion="Current" />
828 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ServiceID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ServiceID" SourceColumnNullMapping="false" SourceVersion="Current" />
829 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@RepairCharges" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="RepairCharges" SourceColumnNullMapping="false" SourceVersion="Current" />
830 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Upfront" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Upfront" SourceColumnNullMapping="false" SourceVersion="Current" />
831 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@ProductCharges" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="ProductCharges" SourceColumnNullMapping="false" SourceVersion="Current" />
832 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@ServiceTaxPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="ServiceTaxPer" SourceColumnNullMapping="false" SourceVersion="Current" />
833 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@ServiceTax" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="ServiceTax" SourceColumnNullMapping="false" SourceVersion="Current" />
834 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@GrandTotal" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
835 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotalPaid" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalPaid" SourceColumnNullMapping="false" SourceVersion="Current" />
836 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Balance" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Balance" SourceColumnNullMapping="false" SourceVersion="Current" />
837 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Remarks" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Remarks" SourceColumnNullMapping="false" SourceVersion="Current" />
838 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Inv_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Inv_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
839 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_InvoiceNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="InvoiceNo" SourceColumnNullMapping="false" SourceVersion="Original" />
840 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_InvoiceDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="InvoiceDate" SourceColumnNullMapping="false" SourceVersion="Original" />
841 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ServiceID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ServiceID" SourceColumnNullMapping="false" SourceVersion="Original" />
842 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_RepairCharges" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="RepairCharges" SourceColumnNullMapping="false" SourceVersion="Original" />
843 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Upfront" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Upfront" SourceColumnNullMapping="false" SourceVersion="Original" />
844 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_ProductCharges" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="ProductCharges" SourceColumnNullMapping="false" SourceVersion="Original" />
845 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_ServiceTaxPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="ServiceTaxPer" SourceColumnNullMapping="false" SourceVersion="Original" />
846 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_ServiceTax" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="ServiceTax" SourceColumnNullMapping="false" SourceVersion="Original" />
847 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_GrandTotal" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Original" />
848 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TotalPaid" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalPaid" SourceColumnNullMapping="false" SourceVersion="Original" />
849 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Balance" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Balance" SourceColumnNullMapping="false" SourceVersion="Original" />
850 </Parameters>
851 </DbCommand>
852 </UpdateCommand>
853 </DbSource>
854 </MainSource>
855 <Mappings>
856 <Mapping SourceColumn="Inv_ID" DataSetColumn="Inv_ID" />
857 <Mapping SourceColumn="InvoiceNo" DataSetColumn="InvoiceNo" />
858 <Mapping SourceColumn="InvoiceDate" DataSetColumn="InvoiceDate" />
859 <Mapping SourceColumn="ServiceID" DataSetColumn="ServiceID" />
860 <Mapping SourceColumn="RepairCharges" DataSetColumn="RepairCharges" />
861 <Mapping SourceColumn="Upfront" DataSetColumn="Upfront" />
862 <Mapping SourceColumn="ProductCharges" DataSetColumn="ProductCharges" />
863 <Mapping SourceColumn="ServiceTaxPer" DataSetColumn="ServiceTaxPer" />
864 <Mapping SourceColumn="ServiceTax" DataSetColumn="ServiceTax" />
865 <Mapping SourceColumn="GrandTotal" DataSetColumn="GrandTotal" />
866 <Mapping SourceColumn="TotalPaid" DataSetColumn="TotalPaid" />
867 <Mapping SourceColumn="Balance" DataSetColumn="Balance" />
868 <Mapping SourceColumn="Remarks" DataSetColumn="Remarks" />
869 </Mappings>
870 <Sources />
871 </TableAdapter>
872 <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="LogsTableAdapter" GeneratorDataComponentClassName="LogsTableAdapter" Name="Logs" UserDataComponentName="LogsTableAdapter">
873 <MainSource>
874 <DbSource ConnectionRef="SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.Logs" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
875 <DeleteCommand>
876 <DbCommand CommandType="Text" ModifiedByUser="false">
877 <CommandText>DELETE FROM [dbo].[Logs] WHERE (([ID] = @Original_ID) AND ([UserID] = @Original_UserID) AND ([Date] = @Original_Date))</CommandText>
878 <Parameters>
879 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
880 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_UserID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Original" />
881 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Original" />
882 </Parameters>
883 </DbCommand>
884 </DeleteCommand>
885 <InsertCommand>
886 <DbCommand CommandType="Text" ModifiedByUser="false">
887 <CommandText>INSERT INTO [dbo].[Logs] ([UserID], [Operation], [Date]) VALUES (@UserID, @Operation, @Date);
888 SELECT ID, UserID, Operation, Date FROM Logs WHERE (ID = SCOPE_IDENTITY())</CommandText>
889 <Parameters>
890 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@UserID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Current" />
891 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Operation" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Operation" SourceColumnNullMapping="false" SourceVersion="Current" />
892 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Current" />
893 </Parameters>
894 </DbCommand>
895 </InsertCommand>
896 <SelectCommand>
897 <DbCommand CommandType="Text" ModifiedByUser="false">
898 <CommandText>SELECT ID, UserID, Operation, Date FROM dbo.Logs</CommandText>
899 <Parameters />
900 </DbCommand>
901 </SelectCommand>
902 <UpdateCommand>
903 <DbCommand CommandType="Text" ModifiedByUser="false">
904 <CommandText>UPDATE [dbo].[Logs] SET [UserID] = @UserID, [Operation] = @Operation, [Date] = @Date WHERE (([ID] = @Original_ID) AND ([UserID] = @Original_UserID) AND ([Date] = @Original_Date));
905 SELECT ID, UserID, Operation, Date FROM Logs WHERE (ID = @ID)</CommandText>
906 <Parameters>
907 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@UserID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Current" />
908 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Operation" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Operation" SourceColumnNullMapping="false" SourceVersion="Current" />
909 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Current" />
910 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
911 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_UserID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Original" />
912 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Original" />
913 <Parameter AllowDbNull="false" AutogeneratedName="ID" ColumnName="ID" DataSourceName="SIS_DB.dbo.Logs" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
914 </Parameters>
915 </DbCommand>
916 </UpdateCommand>
917 </DbSource>
918 </MainSource>
919 <Mappings>
920 <Mapping SourceColumn="ID" DataSetColumn="ID" />
921 <Mapping SourceColumn="UserID" DataSetColumn="UserID" />
922 <Mapping SourceColumn="Operation" DataSetColumn="Operation" />
923 <Mapping SourceColumn="Date" DataSetColumn="Date" />
924 </Mappings>
925 <Sources />
926 </TableAdapter>
927 <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProductTableAdapter" GeneratorDataComponentClassName="ProductTableAdapter" Name="Product" UserDataComponentName="ProductTableAdapter">
928 <MainSource>
929 <DbSource ConnectionRef="SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.Product" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
930 <DeleteCommand>
931 <DbCommand CommandType="Text" ModifiedByUser="false">
932 <CommandText>DELETE FROM [dbo].[Product] WHERE (([PID] = @Original_PID) AND ([ProductCode] = @Original_ProductCode) AND ([ProductName] = @Original_ProductName) AND ([SubCategoryID] = @Original_SubCategoryID) AND ([CostPrice] = @Original_CostPrice) AND ([SellingPrice] = @Original_SellingPrice) AND ([Discount] = @Original_Discount) AND ([VAT] = @Original_VAT) AND ([ReorderPoint] = @Original_ReorderPoint))</CommandText>
933 <Parameters>
934 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PID" SourceColumnNullMapping="false" SourceVersion="Original" />
935 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ProductCode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ProductCode" SourceColumnNullMapping="false" SourceVersion="Original" />
936 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ProductName" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ProductName" SourceColumnNullMapping="false" SourceVersion="Original" />
937 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SubCategoryID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SubCategoryID" SourceColumnNullMapping="false" SourceVersion="Original" />
938 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_CostPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="CostPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
939 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_SellingPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="SellingPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
940 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Discount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Original" />
941 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_VAT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VAT" SourceColumnNullMapping="false" SourceVersion="Original" />
942 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ReorderPoint" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ReorderPoint" SourceColumnNullMapping="false" SourceVersion="Original" />
943 </Parameters>
944 </DbCommand>
945 </DeleteCommand>
946 <InsertCommand>
947 <DbCommand CommandType="Text" ModifiedByUser="false">
948 <CommandText>INSERT INTO [dbo].[Product] ([PID], [ProductCode], [ProductName], [SubCategoryID], [Description], [CostPrice], [SellingPrice], [Discount], [VAT], [ReorderPoint]) VALUES (@PID, @ProductCode, @ProductName, @SubCategoryID, @Description, @CostPrice, @SellingPrice, @Discount, @VAT, @ReorderPoint);
949 SELECT PID, ProductCode, ProductName, SubCategoryID, Description, CostPrice, SellingPrice, Discount, VAT, ReorderPoint FROM Product WHERE (PID = @PID)</CommandText>
950 <Parameters>
951 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PID" SourceColumnNullMapping="false" SourceVersion="Current" />
952 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ProductCode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ProductCode" SourceColumnNullMapping="false" SourceVersion="Current" />
953 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ProductName" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ProductName" SourceColumnNullMapping="false" SourceVersion="Current" />
954 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SubCategoryID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SubCategoryID" SourceColumnNullMapping="false" SourceVersion="Current" />
955 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
956 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@CostPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="CostPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
957 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@SellingPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="SellingPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
958 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Discount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Current" />
959 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@VAT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VAT" SourceColumnNullMapping="false" SourceVersion="Current" />
960 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ReorderPoint" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ReorderPoint" SourceColumnNullMapping="false" SourceVersion="Current" />
961 </Parameters>
962 </DbCommand>
963 </InsertCommand>
964 <SelectCommand>
965 <DbCommand CommandType="Text" ModifiedByUser="false">
966 <CommandText>SELECT PID, ProductCode, ProductName, SubCategoryID, Description, CostPrice, SellingPrice, Discount, VAT, ReorderPoint FROM dbo.Product</CommandText>
967 <Parameters />
968 </DbCommand>
969 </SelectCommand>
970 <UpdateCommand>
971 <DbCommand CommandType="Text" ModifiedByUser="false">
972 <CommandText>UPDATE [dbo].[Product] SET [PID] = @PID, [ProductCode] = @ProductCode, [ProductName] = @ProductName, [SubCategoryID] = @SubCategoryID, [Description] = @Description, [CostPrice] = @CostPrice, [SellingPrice] = @SellingPrice, [Discount] = @Discount, [VAT] = @VAT, [ReorderPoint] = @ReorderPoint WHERE (([PID] = @Original_PID) AND ([ProductCode] = @Original_ProductCode) AND ([ProductName] = @Original_ProductName) AND ([SubCategoryID] = @Original_SubCategoryID) AND ([CostPrice] = @Original_CostPrice) AND ([SellingPrice] = @Original_SellingPrice) AND ([Discount] = @Original_Discount) AND ([VAT] = @Original_VAT) AND ([ReorderPoint] = @Original_ReorderPoint));
973 SELECT PID, ProductCode, ProductName, SubCategoryID, Description, CostPrice, SellingPrice, Discount, VAT, ReorderPoint FROM Product WHERE (PID = @PID)</CommandText>
974 <Parameters>
975 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PID" SourceColumnNullMapping="false" SourceVersion="Current" />
976 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ProductCode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ProductCode" SourceColumnNullMapping="false" SourceVersion="Current" />
977 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ProductName" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ProductName" SourceColumnNullMapping="false" SourceVersion="Current" />
978 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SubCategoryID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SubCategoryID" SourceColumnNullMapping="false" SourceVersion="Current" />
979 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
980 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@CostPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="CostPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
981 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@SellingPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="SellingPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
982 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Discount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Current" />
983 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@VAT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VAT" SourceColumnNullMapping="false" SourceVersion="Current" />
984 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ReorderPoint" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ReorderPoint" SourceColumnNullMapping="false" SourceVersion="Current" />
985 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PID" SourceColumnNullMapping="false" SourceVersion="Original" />
986 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ProductCode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ProductCode" SourceColumnNullMapping="false" SourceVersion="Original" />
987 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ProductName" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ProductName" SourceColumnNullMapping="false" SourceVersion="Original" />
988 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SubCategoryID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SubCategoryID" SourceColumnNullMapping="false" SourceVersion="Original" />
989 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_CostPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="CostPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
990 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_SellingPrice" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="SellingPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
991 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Discount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Original" />
992 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_VAT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VAT" SourceColumnNullMapping="false" SourceVersion="Original" />
993 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ReorderPoint" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ReorderPoint" SourceColumnNullMapping="false" SourceVersion="Original" />
994 </Parameters>
995 </DbCommand>
996 </UpdateCommand>
997 </DbSource>
998 </MainSource>
999 <Mappings>
1000 <Mapping SourceColumn="PID" DataSetColumn="PID" />
1001 <Mapping SourceColumn="ProductCode" DataSetColumn="ProductCode" />
1002 <Mapping SourceColumn="ProductName" DataSetColumn="ProductName" />
1003 <Mapping SourceColumn="SubCategoryID" DataSetColumn="SubCategoryID" />
1004 <Mapping SourceColumn="Description" DataSetColumn="Description" />
1005 <Mapping SourceColumn="CostPrice" DataSetColumn="CostPrice" />
1006 <Mapping SourceColumn="SellingPrice" DataSetColumn="SellingPrice" />
1007 <Mapping SourceColumn="Discount" DataSetColumn="Discount" />
1008 <Mapping SourceColumn="VAT" DataSetColumn="VAT" />
1009 <Mapping SourceColumn="ReorderPoint" DataSetColumn="ReorderPoint" />
1010 </Mappings>
1011 <Sources />
1012 </TableAdapter>
1013 <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Product_JoinTableAdapter" GeneratorDataComponentClassName="Product_JoinTableAdapter" Name="Product_Join" UserDataComponentName="Product_JoinTableAdapter">
1014 <MainSource>
1015 <DbSource ConnectionRef="SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.Product_Join" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
1016 <DeleteCommand>
1017 <DbCommand CommandType="Text" ModifiedByUser="false">
1018 <CommandText>DELETE FROM [dbo].[Product_Join] WHERE (([Id] = @Original_Id) AND ([ProductID] = @Original_ProductID))</CommandText>
1019 <Parameters>
1020 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
1021 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Original" />
1022 </Parameters>
1023 </DbCommand>
1024 </DeleteCommand>
1025 <InsertCommand>
1026 <DbCommand CommandType="Text" ModifiedByUser="false">
1027 <CommandText>INSERT INTO [dbo].[Product_Join] ([ProductID], [Photo]) VALUES (@ProductID, @Photo);
1028 SELECT Id, ProductID, Photo FROM Product_Join WHERE (Id = SCOPE_IDENTITY())</CommandText>
1029 <Parameters>
1030 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Current" />
1031 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Photo" Precision="0" ProviderType="Image" Scale="0" Size="0" SourceColumn="Photo" SourceColumnNullMapping="false" SourceVersion="Current" />
1032 </Parameters>
1033 </DbCommand>
1034 </InsertCommand>
1035 <SelectCommand>
1036 <DbCommand CommandType="Text" ModifiedByUser="false">
1037 <CommandText>SELECT Id, ProductID, Photo FROM dbo.Product_Join</CommandText>
1038 <Parameters />
1039 </DbCommand>
1040 </SelectCommand>
1041 <UpdateCommand>
1042 <DbCommand CommandType="Text" ModifiedByUser="false">
1043 <CommandText>UPDATE [dbo].[Product_Join] SET [ProductID] = @ProductID, [Photo] = @Photo WHERE (([Id] = @Original_Id) AND ([ProductID] = @Original_ProductID));
1044 SELECT Id, ProductID, Photo FROM Product_Join WHERE (Id = @Id)</CommandText>
1045 <Parameters>
1046 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Current" />
1047 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Photo" Precision="0" ProviderType="Image" Scale="0" Size="0" SourceColumn="Photo" SourceColumnNullMapping="false" SourceVersion="Current" />
1048 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
1049 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Original" />
1050 <Parameter AllowDbNull="false" AutogeneratedName="Id" ColumnName="Id" DataSourceName="SIS_DB.dbo.Product_Join" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Current" />
1051 </Parameters>
1052 </DbCommand>
1053 </UpdateCommand>
1054 </DbSource>
1055 </MainSource>
1056 <Mappings>
1057 <Mapping SourceColumn="Id" DataSetColumn="Id" />
1058 <Mapping SourceColumn="ProductID" DataSetColumn="ProductID" />
1059 <Mapping SourceColumn="Photo" DataSetColumn="Photo" />
1060 </Mappings>
1061 <Sources />
1062 </TableAdapter>
1063 <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="QuotationTableAdapter" GeneratorDataComponentClassName="QuotationTableAdapter" Name="Quotation" UserDataComponentName="QuotationTableAdapter">
1064 <MainSource>
1065 <DbSource ConnectionRef="SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.Quotation" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
1066 <DeleteCommand>
1067 <DbCommand CommandType="Text" ModifiedByUser="false">
1068 <CommandText>DELETE FROM [dbo].[Quotation] WHERE (([Q_ID] = @Original_Q_ID) AND ([QuotationNo] = @Original_QuotationNo) AND ([Date] = @Original_Date) AND ([CustomerID] = @Original_CustomerID) AND ([GrandTotal] = @Original_GrandTotal))</CommandText>
1069 <Parameters>
1070 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Q_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Q_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
1071 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_QuotationNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="QuotationNo" SourceColumnNullMapping="false" SourceVersion="Original" />
1072 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Original" />
1073 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CustomerID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerID" SourceColumnNullMapping="false" SourceVersion="Original" />
1074 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_GrandTotal" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Original" />
1075 </Parameters>
1076 </DbCommand>
1077 </DeleteCommand>
1078 <InsertCommand>
1079 <DbCommand CommandType="Text" ModifiedByUser="false">
1080 <CommandText>INSERT INTO [dbo].[Quotation] ([Q_ID], [QuotationNo], [Date], [CustomerID], [GrandTotal], [Remarks]) VALUES (@Q_ID, @QuotationNo, @Date, @CustomerID, @GrandTotal, @Remarks);
1081 SELECT Q_ID, QuotationNo, Date, CustomerID, GrandTotal, Remarks FROM Quotation WHERE (Q_ID = @Q_ID)</CommandText>
1082 <Parameters>
1083 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Q_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Q_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
1084 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@QuotationNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="QuotationNo" SourceColumnNullMapping="false" SourceVersion="Current" />
1085 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Current" />
1086 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CustomerID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerID" SourceColumnNullMapping="false" SourceVersion="Current" />
1087 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@GrandTotal" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
1088 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Remarks" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Remarks" SourceColumnNullMapping="false" SourceVersion="Current" />
1089 </Parameters>
1090 </DbCommand>
1091 </InsertCommand>
1092 <SelectCommand>
1093 <DbCommand CommandType="Text" ModifiedByUser="false">
1094 <CommandText>SELECT Q_ID, QuotationNo, Date, CustomerID, GrandTotal, Remarks FROM dbo.Quotation</CommandText>
1095 <Parameters />
1096 </DbCommand>
1097 </SelectCommand>
1098 <UpdateCommand>
1099 <DbCommand CommandType="Text" ModifiedByUser="false">
1100 <CommandText>UPDATE [dbo].[Quotation] SET [Q_ID] = @Q_ID, [QuotationNo] = @QuotationNo, [Date] = @Date, [CustomerID] = @CustomerID, [GrandTotal] = @GrandTotal, [Remarks] = @Remarks WHERE (([Q_ID] = @Original_Q_ID) AND ([QuotationNo] = @Original_QuotationNo) AND ([Date] = @Original_Date) AND ([CustomerID] = @Original_CustomerID) AND ([GrandTotal] = @Original_GrandTotal));
1101 SELECT Q_ID, QuotationNo, Date, CustomerID, GrandTotal, Remarks FROM Quotation WHERE (Q_ID = @Q_ID)</CommandText>
1102 <Parameters>
1103 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Q_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Q_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
1104 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@QuotationNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="QuotationNo" SourceColumnNullMapping="false" SourceVersion="Current" />
1105 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Current" />
1106 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CustomerID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerID" SourceColumnNullMapping="false" SourceVersion="Current" />
1107 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@GrandTotal" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
1108 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Remarks" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Remarks" SourceColumnNullMapping="false" SourceVersion="Current" />
1109 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Q_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Q_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
1110 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_QuotationNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="QuotationNo" SourceColumnNullMapping="false" SourceVersion="Original" />
1111 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Original" />
1112 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CustomerID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerID" SourceColumnNullMapping="false" SourceVersion="Original" />
1113 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_GrandTotal" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Original" />
1114 </Parameters>
1115 </DbCommand>
1116 </UpdateCommand>
1117 </DbSource>
1118 </MainSource>
1119 <Mappings>
1120 <Mapping SourceColumn="Q_ID" DataSetColumn="Q_ID" />
1121 <Mapping SourceColumn="QuotationNo" DataSetColumn="QuotationNo" />
1122 <Mapping SourceColumn="Date" DataSetColumn="Date" />
1123 <Mapping SourceColumn="CustomerID" DataSetColumn="CustomerID" />
1124 <Mapping SourceColumn="GrandTotal" DataSetColumn="GrandTotal" />
1125 <Mapping SourceColumn="Remarks" DataSetColumn="Remarks" />
1126 </Mappings>
1127 <Sources />
1128 </TableAdapter>
1129 <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Quotation_JoinTableAdapter" GeneratorDataComponentClassName="Quotation_JoinTableAdapter" Name="Quotation_Join" UserDataComponentName="Quotation_JoinTableAdapter">
1130 <MainSource>
1131 <DbSource ConnectionRef="SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.Quotation_Join" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
1132 <DeleteCommand>
1133 <DbCommand CommandType="Text" ModifiedByUser="false">
1134 <CommandText>DELETE FROM [dbo].[Quotation_Join] WHERE (([QJ_ID] = @Original_QJ_ID) AND ([QuotationID] = @Original_QuotationID) AND ([ProductID] = @Original_ProductID) AND ([Cost] = @Original_Cost) AND ([Qty] = @Original_Qty) AND ([Amount] = @Original_Amount) AND ([DiscountPer] = @Original_DiscountPer) AND ([Discount] = @Original_Discount) AND ([VATPer] = @Original_VATPer) AND ([VAT] = @Original_VAT) AND ([TotalAmount] = @Original_TotalAmount))</CommandText>
1135 <Parameters>
1136 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_QJ_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QJ_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
1137 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_QuotationID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuotationID" SourceColumnNullMapping="false" SourceVersion="Original" />
1138 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Original" />
1139 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Cost" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Cost" SourceColumnNullMapping="false" SourceVersion="Original" />
1140 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Original" />
1141 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Amount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Original" />
1142 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_DiscountPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="DiscountPer" SourceColumnNullMapping="false" SourceVersion="Original" />
1143 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Discount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Original" />
1144 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_VATPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VATPer" SourceColumnNullMapping="false" SourceVersion="Original" />
1145 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_VAT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VAT" SourceColumnNullMapping="false" SourceVersion="Original" />
1146 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TotalAmount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalAmount" SourceColumnNullMapping="false" SourceVersion="Original" />
1147 </Parameters>
1148 </DbCommand>
1149 </DeleteCommand>
1150 <InsertCommand>
1151 <DbCommand CommandType="Text" ModifiedByUser="false">
1152 <CommandText>INSERT INTO [dbo].[Quotation_Join] ([QuotationID], [ProductID], [Cost], [Qty], [Amount], [DiscountPer], [Discount], [VATPer], [VAT], [TotalAmount]) VALUES (@QuotationID, @ProductID, @Cost, @Qty, @Amount, @DiscountPer, @Discount, @VATPer, @VAT, @TotalAmount);
1153 SELECT QJ_ID, QuotationID, ProductID, Cost, Qty, Amount, DiscountPer, Discount, VATPer, VAT, TotalAmount FROM Quotation_Join WHERE (QJ_ID = SCOPE_IDENTITY())</CommandText>
1154 <Parameters>
1155 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@QuotationID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuotationID" SourceColumnNullMapping="false" SourceVersion="Current" />
1156 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Current" />
1157 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Cost" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Cost" SourceColumnNullMapping="false" SourceVersion="Current" />
1158 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Current" />
1159 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Amount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Current" />
1160 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@DiscountPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="DiscountPer" SourceColumnNullMapping="false" SourceVersion="Current" />
1161 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Discount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Current" />
1162 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@VATPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VATPer" SourceColumnNullMapping="false" SourceVersion="Current" />
1163 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@VAT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VAT" SourceColumnNullMapping="false" SourceVersion="Current" />
1164 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotalAmount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalAmount" SourceColumnNullMapping="false" SourceVersion="Current" />
1165 </Parameters>
1166 </DbCommand>
1167 </InsertCommand>
1168 <SelectCommand>
1169 <DbCommand CommandType="Text" ModifiedByUser="false">
1170 <CommandText>SELECT QJ_ID, QuotationID, ProductID, Cost, Qty, Amount, DiscountPer, Discount, VATPer, VAT, TotalAmount FROM dbo.Quotation_Join</CommandText>
1171 <Parameters />
1172 </DbCommand>
1173 </SelectCommand>
1174 <UpdateCommand>
1175 <DbCommand CommandType="Text" ModifiedByUser="false">
1176 <CommandText>UPDATE [dbo].[Quotation_Join] SET [QuotationID] = @QuotationID, [ProductID] = @ProductID, [Cost] = @Cost, [Qty] = @Qty, [Amount] = @Amount, [DiscountPer] = @DiscountPer, [Discount] = @Discount, [VATPer] = @VATPer, [VAT] = @VAT, [TotalAmount] = @TotalAmount WHERE (([QJ_ID] = @Original_QJ_ID) AND ([QuotationID] = @Original_QuotationID) AND ([ProductID] = @Original_ProductID) AND ([Cost] = @Original_Cost) AND ([Qty] = @Original_Qty) AND ([Amount] = @Original_Amount) AND ([DiscountPer] = @Original_DiscountPer) AND ([Discount] = @Original_Discount) AND ([VATPer] = @Original_VATPer) AND ([VAT] = @Original_VAT) AND ([TotalAmount] = @Original_TotalAmount));
1177 SELECT QJ_ID, QuotationID, ProductID, Cost, Qty, Amount, DiscountPer, Discount, VATPer, VAT, TotalAmount FROM Quotation_Join WHERE (QJ_ID = @QJ_ID)</CommandText>
1178 <Parameters>
1179 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@QuotationID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuotationID" SourceColumnNullMapping="false" SourceVersion="Current" />
1180 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Current" />
1181 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Cost" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Cost" SourceColumnNullMapping="false" SourceVersion="Current" />
1182 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Current" />
1183 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Amount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Current" />
1184 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@DiscountPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="DiscountPer" SourceColumnNullMapping="false" SourceVersion="Current" />
1185 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Discount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Current" />
1186 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@VATPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VATPer" SourceColumnNullMapping="false" SourceVersion="Current" />
1187 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@VAT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VAT" SourceColumnNullMapping="false" SourceVersion="Current" />
1188 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotalAmount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalAmount" SourceColumnNullMapping="false" SourceVersion="Current" />
1189 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_QJ_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QJ_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
1190 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_QuotationID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuotationID" SourceColumnNullMapping="false" SourceVersion="Original" />
1191 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Original" />
1192 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Cost" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Cost" SourceColumnNullMapping="false" SourceVersion="Original" />
1193 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Original" />
1194 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Amount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Original" />
1195 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_DiscountPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="DiscountPer" SourceColumnNullMapping="false" SourceVersion="Original" />
1196 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Discount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Original" />
1197 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_VATPer" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VATPer" SourceColumnNullMapping="false" SourceVersion="Original" />
1198 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_VAT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VAT" SourceColumnNullMapping="false" SourceVersion="Original" />
1199 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TotalAmount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalAmount" SourceColumnNullMapping="false" SourceVersion="Original" />
1200 <Parameter AllowDbNull="false" AutogeneratedName="QJ_ID" ColumnName="QJ_ID" DataSourceName="SIS_DB.dbo.Quotation_Join" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@QJ_ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="QJ_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
1201 </Parameters>
1202 </DbCommand>
1203 </UpdateCommand>
1204 </DbSource>
1205 </MainSource>
1206 <Mappings>
1207 <Mapping SourceColumn="QJ_ID" DataSetColumn="QJ_ID" />
1208 <Mapping SourceColumn="QuotationID" DataSetColumn="QuotationID" />
1209 <Mapping SourceColumn="ProductID" DataSetColumn="ProductID" />
1210 <Mapping SourceColumn="Cost" DataSetColumn="Cost" />
1211 <Mapping SourceColumn="Qty" DataSetColumn="Qty" />
1212 <Mapping SourceColumn="Amount" DataSetColumn="Amount" />
1213 <Mapping SourceColumn="DiscountPer" DataSetColumn="DiscountPer" />
1214 <Mapping SourceColumn="Discount" DataSetColumn="Discount" />
1215 <Mapping SourceColumn="VATPer" DataSetColumn="VATPer" />
1216 <Mapping SourceColumn="VAT" DataSetColumn="VAT" />
1217 <Mapping SourceColumn="TotalAmount" DataSetColumn="TotalAmount" />
1218 </Mappings>
1219 <Sources />
1220 </TableAdapter>
1221 <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="RegistrationTableAdapter" GeneratorDataComponentClassName="RegistrationTableAdapter" Name="Registration" UserDataComponentName="RegistrationTableAdapter">
1222 <MainSource>
1223 <DbSource ConnectionRef="SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.Registration" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
1224 <DeleteCommand>
1225 <DbCommand CommandType="Text" ModifiedByUser="false">
1226 <CommandText>DELETE FROM [dbo].[Registration] WHERE (([UserID] = @Original_UserID) AND ([UserType] = @Original_UserType) AND ([Password] = @Original_Password) AND ([Name] = @Original_Name) AND ([ContactNo] = @Original_ContactNo) AND ((@IsNull_EmailID = 1 AND [EmailID] IS NULL) OR ([EmailID] = @Original_EmailID)) AND ((@IsNull_JoiningDate = 1 AND [JoiningDate] IS NULL) OR ([JoiningDate] = @Original_JoiningDate)))</CommandText>
1227 <Parameters>
1228 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_UserID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Original" />
1229 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_UserType" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="UserType" SourceColumnNullMapping="false" SourceVersion="Original" />
1230 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Password" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="false" SourceVersion="Original" />
1231 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
1232 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ContactNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Original" />
1233 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EmailID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="true" SourceVersion="Original" />
1234 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_EmailID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="false" SourceVersion="Original" />
1235 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_JoiningDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="JoiningDate" SourceColumnNullMapping="true" SourceVersion="Original" />
1236 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_JoiningDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="JoiningDate" SourceColumnNullMapping="false" SourceVersion="Original" />
1237 </Parameters>
1238 </DbCommand>
1239 </DeleteCommand>
1240 <InsertCommand>
1241 <DbCommand CommandType="Text" ModifiedByUser="false">
1242 <CommandText>INSERT INTO [dbo].[Registration] ([UserID], [UserType], [Password], [Name], [ContactNo], [EmailID], [JoiningDate]) VALUES (@UserID, @UserType, @Password, @Name, @ContactNo, @EmailID, @JoiningDate);
1243 SELECT UserID, UserType, Password, Name, ContactNo, EmailID, JoiningDate FROM Registration WHERE (UserID = @UserID)</CommandText>
1244 <Parameters>
1245 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@UserID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Current" />
1246 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@UserType" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="UserType" SourceColumnNullMapping="false" SourceVersion="Current" />
1247 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Password" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="false" SourceVersion="Current" />
1248 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
1249 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ContactNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Current" />
1250 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@EmailID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="false" SourceVersion="Current" />
1251 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@JoiningDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="JoiningDate" SourceColumnNullMapping="false" SourceVersion="Current" />
1252 </Parameters>
1253 </DbCommand>
1254 </InsertCommand>
1255 <SelectCommand>
1256 <DbCommand CommandType="Text" ModifiedByUser="false">
1257 <CommandText>SELECT UserID, UserType, Password, Name, ContactNo, EmailID, JoiningDate FROM dbo.Registration</CommandText>
1258 <Parameters />
1259 </DbCommand>
1260 </SelectCommand>
1261 <UpdateCommand>
1262 <DbCommand CommandType="Text" ModifiedByUser="false">
1263 <CommandText>UPDATE [dbo].[Registration] SET [UserID] = @UserID, [UserType] = @UserType, [Password] = @Password, [Name] = @Name, [ContactNo] = @ContactNo, [EmailID] = @EmailID, [JoiningDate] = @JoiningDate WHERE (([UserID] = @Original_UserID) AND ([UserType] = @Original_UserType) AND ([Password] = @Original_Password) AND ([Name] = @Original_Name) AND ([ContactNo] = @Original_ContactNo) AND ((@IsNull_EmailID = 1 AND [EmailID] IS NULL) OR ([EmailID] = @Original_EmailID)) AND ((@IsNull_JoiningDate = 1 AND [JoiningDate] IS NULL) OR ([JoiningDate] = @Original_JoiningDate)));
1264 SELECT UserID, UserType, Password, Name, ContactNo, EmailID, JoiningDate FROM Registration WHERE (UserID = @UserID)</CommandText>
1265 <Parameters>
1266 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@UserID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Current" />
1267 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@UserType" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="UserType" SourceColumnNullMapping="false" SourceVersion="Current" />
1268 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Password" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="false" SourceVersion="Current" />
1269 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
1270 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ContactNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Current" />
1271 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@EmailID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="false" SourceVersion="Current" />
1272 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@JoiningDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="JoiningDate" SourceColumnNullMapping="false" SourceVersion="Current" />
1273 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_UserID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Original" />
1274 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_UserType" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="UserType" SourceColumnNullMapping="false" SourceVersion="Original" />
1275 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Password" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="false" SourceVersion="Original" />
1276 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
1277 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ContactNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Original" />
1278 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EmailID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="true" SourceVersion="Original" />
1279 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_EmailID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="false" SourceVersion="Original" />
1280 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_JoiningDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="JoiningDate" SourceColumnNullMapping="true" SourceVersion="Original" />
1281 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_JoiningDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="JoiningDate" SourceColumnNullMapping="false" SourceVersion="Original" />
1282 </Parameters>
1283 </DbCommand>
1284 </UpdateCommand>
1285 </DbSource>
1286 </MainSource>
1287 <Mappings>
1288 <Mapping SourceColumn="UserID" DataSetColumn="UserID" />
1289 <Mapping SourceColumn="UserType" DataSetColumn="UserType" />
1290 <Mapping SourceColumn="Password" DataSetColumn="Password" />
1291 <Mapping SourceColumn="Name" DataSetColumn="Name" />
1292 <Mapping SourceColumn="ContactNo" DataSetColumn="ContactNo" />
1293 <Mapping SourceColumn="EmailID" DataSetColumn="EmailID" />
1294 <Mapping SourceColumn="JoiningDate" DataSetColumn="JoiningDate" />
1295 </Mappings>
1296 <Sources />
1297 </TableAdapter>
1298 <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ServiceTableAdapter" GeneratorDataComponentClassName="ServiceTableAdapter" Name="Service" UserDataComponentName="ServiceTableAdapter">
1299 <MainSource>
1300 <DbSource ConnectionRef="SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.Service" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
1301 <DeleteCommand>
1302 <DbCommand CommandType="Text" ModifiedByUser="false">
1303 <CommandText>DELETE FROM [dbo].[Service] WHERE (([S_ID] = @Original_S_ID) AND ([ServiceCode] = @Original_ServiceCode) AND ([CustomerID] = @Original_CustomerID) AND ((@IsNull_ServiceType = 1 AND [ServiceType] IS NULL) OR ([ServiceType] = @Original_ServiceType)) AND ([ServiceCreationDate] = @Original_ServiceCreationDate) AND ([ChargesQuote] = @Original_ChargesQuote) AND ([AdvanceDeposit] = @Original_AdvanceDeposit) AND ([EstimatedRepairDate] = @Original_EstimatedRepairDate) AND ([Status] = @Original_Status))</CommandText>
1304 <Parameters>
1305 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_S_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="S_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
1306 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ServiceCode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ServiceCode" SourceColumnNullMapping="false" SourceVersion="Original" />
1307 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CustomerID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerID" SourceColumnNullMapping="false" SourceVersion="Original" />
1308 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ServiceType" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ServiceType" SourceColumnNullMapping="true" SourceVersion="Original" />
1309 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ServiceType" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ServiceType" SourceColumnNullMapping="false" SourceVersion="Original" />
1310 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ServiceCreationDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ServiceCreationDate" SourceColumnNullMapping="false" SourceVersion="Original" />
1311 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_ChargesQuote" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="ChargesQuote" SourceColumnNullMapping="false" SourceVersion="Original" />
1312 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_AdvanceDeposit" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="AdvanceDeposit" SourceColumnNullMapping="false" SourceVersion="Original" />
1313 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_EstimatedRepairDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EstimatedRepairDate" SourceColumnNullMapping="false" SourceVersion="Original" />
1314 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Status" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Original" />
1315 </Parameters>
1316 </DbCommand>
1317 </DeleteCommand>
1318 <InsertCommand>
1319 <DbCommand CommandType="Text" ModifiedByUser="false">
1320 <CommandText>INSERT INTO [dbo].[Service] ([S_ID], [ServiceCode], [CustomerID], [ServiceType], [ServiceCreationDate], [ItemDescription], [ProblemDescription], [ChargesQuote], [AdvanceDeposit], [EstimatedRepairDate], [Remarks], [Status]) VALUES (@S_ID, @ServiceCode, @CustomerID, @ServiceType, @ServiceCreationDate, @ItemDescription, @ProblemDescription, @ChargesQuote, @AdvanceDeposit, @EstimatedRepairDate, @Remarks, @Status);
1321 SELECT S_ID, ServiceCode, CustomerID, ServiceType, ServiceCreationDate, ItemDescription, ProblemDescription, ChargesQuote, AdvanceDeposit, EstimatedRepairDate, Remarks, Status FROM Service WHERE (S_ID = @S_ID)</CommandText>
1322 <Parameters>
1323 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@S_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="S_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
1324 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ServiceCode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ServiceCode" SourceColumnNullMapping="false" SourceVersion="Current" />
1325 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CustomerID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerID" SourceColumnNullMapping="false" SourceVersion="Current" />
1326 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ServiceType" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ServiceType" SourceColumnNullMapping="false" SourceVersion="Current" />
1327 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ServiceCreationDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ServiceCreationDate" SourceColumnNullMapping="false" SourceVersion="Current" />
1328 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ItemDescription" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemDescription" SourceColumnNullMapping="false" SourceVersion="Current" />
1329 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProblemDescription" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProblemDescription" SourceColumnNullMapping="false" SourceVersion="Current" />
1330 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@ChargesQuote" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="ChargesQuote" SourceColumnNullMapping="false" SourceVersion="Current" />
1331 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@AdvanceDeposit" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="AdvanceDeposit" SourceColumnNullMapping="false" SourceVersion="Current" />
1332 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@EstimatedRepairDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EstimatedRepairDate" SourceColumnNullMapping="false" SourceVersion="Current" />
1333 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Remarks" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Remarks" SourceColumnNullMapping="false" SourceVersion="Current" />
1334 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
1335 </Parameters>
1336 </DbCommand>
1337 </InsertCommand>
1338 <SelectCommand>
1339 <DbCommand CommandType="Text" ModifiedByUser="false">
1340 <CommandText>SELECT S_ID, ServiceCode, CustomerID, ServiceType, ServiceCreationDate, ItemDescription, ProblemDescription, ChargesQuote, AdvanceDeposit, EstimatedRepairDate, Remarks, Status FROM dbo.Service</CommandText>
1341 <Parameters />
1342 </DbCommand>
1343 </SelectCommand>
1344 <UpdateCommand>
1345 <DbCommand CommandType="Text" ModifiedByUser="false">
1346 <CommandText>UPDATE [dbo].[Service] SET [S_ID] = @S_ID, [ServiceCode] = @ServiceCode, [CustomerID] = @CustomerID, [ServiceType] = @ServiceType, [ServiceCreationDate] = @ServiceCreationDate, [ItemDescription] = @ItemDescription, [ProblemDescription] = @ProblemDescription, [ChargesQuote] = @ChargesQuote, [AdvanceDeposit] = @AdvanceDeposit, [EstimatedRepairDate] = @EstimatedRepairDate, [Remarks] = @Remarks, [Status] = @Status WHERE (([S_ID] = @Original_S_ID) AND ([ServiceCode] = @Original_ServiceCode) AND ([CustomerID] = @Original_CustomerID) AND ((@IsNull_ServiceType = 1 AND [ServiceType] IS NULL) OR ([ServiceType] = @Original_ServiceType)) AND ([ServiceCreationDate] = @Original_ServiceCreationDate) AND ([ChargesQuote] = @Original_ChargesQuote) AND ([AdvanceDeposit] = @Original_AdvanceDeposit) AND ([EstimatedRepairDate] = @Original_EstimatedRepairDate) AND ([Status] = @Original_Status));
1347 SELECT S_ID, ServiceCode, CustomerID, ServiceType, ServiceCreationDate, ItemDescription, ProblemDescription, ChargesQuote, AdvanceDeposit, EstimatedRepairDate, Remarks, Status FROM Service WHERE (S_ID = @S_ID)</CommandText>
1348 <Parameters>
1349 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@S_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="S_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
1350 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ServiceCode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ServiceCode" SourceColumnNullMapping="false" SourceVersion="Current" />
1351 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CustomerID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerID" SourceColumnNullMapping="false" SourceVersion="Current" />
1352 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ServiceType" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ServiceType" SourceColumnNullMapping="false" SourceVersion="Current" />
1353 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ServiceCreationDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ServiceCreationDate" SourceColumnNullMapping="false" SourceVersion="Current" />
1354 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ItemDescription" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemDescription" SourceColumnNullMapping="false" SourceVersion="Current" />
1355 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProblemDescription" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProblemDescription" SourceColumnNullMapping="false" SourceVersion="Current" />
1356 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@ChargesQuote" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="ChargesQuote" SourceColumnNullMapping="false" SourceVersion="Current" />
1357 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@AdvanceDeposit" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="AdvanceDeposit" SourceColumnNullMapping="false" SourceVersion="Current" />
1358 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@EstimatedRepairDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EstimatedRepairDate" SourceColumnNullMapping="false" SourceVersion="Current" />
1359 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Remarks" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Remarks" SourceColumnNullMapping="false" SourceVersion="Current" />
1360 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
1361 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_S_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="S_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
1362 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ServiceCode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ServiceCode" SourceColumnNullMapping="false" SourceVersion="Original" />
1363 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CustomerID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerID" SourceColumnNullMapping="false" SourceVersion="Original" />
1364 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ServiceType" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ServiceType" SourceColumnNullMapping="true" SourceVersion="Original" />
1365 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ServiceType" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ServiceType" SourceColumnNullMapping="false" SourceVersion="Original" />
1366 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ServiceCreationDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ServiceCreationDate" SourceColumnNullMapping="false" SourceVersion="Original" />
1367 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_ChargesQuote" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="ChargesQuote" SourceColumnNullMapping="false" SourceVersion="Original" />
1368 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_AdvanceDeposit" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="AdvanceDeposit" SourceColumnNullMapping="false" SourceVersion="Original" />
1369 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_EstimatedRepairDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EstimatedRepairDate" SourceColumnNullMapping="false" SourceVersion="Original" />
1370 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Status" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Original" />
1371 </Parameters>
1372 </DbCommand>
1373 </UpdateCommand>
1374 </DbSource>
1375 </MainSource>
1376 <Mappings>
1377 <Mapping SourceColumn="S_ID" DataSetColumn="S_ID" />
1378 <Mapping SourceColumn="ServiceCode" DataSetColumn="ServiceCode" />
1379 <Mapping SourceColumn="CustomerID" DataSetColumn="CustomerID" />
1380 <Mapping SourceColumn="ServiceType" DataSetColumn="ServiceType" />
1381 <Mapping SourceColumn="ServiceCreationDate" DataSetColumn="ServiceCreationDate" />
1382 <Mapping SourceColumn="ItemDescription" DataSetColumn="ItemDescription" />
1383 <Mapping SourceColumn="ProblemDescription" DataSetColumn="ProblemDescription" />
1384 <Mapping SourceColumn="ChargesQuote" DataSetColumn="ChargesQuote" />
1385 <Mapping SourceColumn="AdvanceDeposit" DataSetColumn="AdvanceDeposit" />
1386 <Mapping SourceColumn="EstimatedRepairDate" DataSetColumn="EstimatedRepairDate" />
1387 <Mapping SourceColumn="Remarks" DataSetColumn="Remarks" />
1388 <Mapping SourceColumn="Status" DataSetColumn="Status" />
1389 </Mappings>
1390 <Sources />
1391 </TableAdapter>
1392 <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SMSSettingTableAdapter" GeneratorDataComponentClassName="SMSSettingTableAdapter" Name="SMSSetting" UserDataComponentName="SMSSettingTableAdapter">
1393 <MainSource>
1394 <DbSource ConnectionRef="SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.SMSSetting" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
1395 <DeleteCommand>
1396 <DbCommand CommandType="Text" ModifiedByUser="false">
1397 <CommandText>DELETE FROM [dbo].[SMSSetting] WHERE (([Id] = @Original_Id) AND ([IsDefault] = @Original_IsDefault) AND ([IsEnabled] = @Original_IsEnabled))</CommandText>
1398 <Parameters>
1399 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
1400 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_IsDefault" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="IsDefault" SourceColumnNullMapping="false" SourceVersion="Original" />
1401 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_IsEnabled" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="IsEnabled" SourceColumnNullMapping="false" SourceVersion="Original" />
1402 </Parameters>
1403 </DbCommand>
1404 </DeleteCommand>
1405 <InsertCommand>
1406 <DbCommand CommandType="Text" ModifiedByUser="false">
1407 <CommandText>INSERT INTO [dbo].[SMSSetting] ([APIUrl], [IsDefault], [IsEnabled]) VALUES (@APIUrl, @IsDefault, @IsEnabled);
1408 SELECT Id, APIUrl, IsDefault, IsEnabled FROM SMSSetting WHERE (Id = SCOPE_IDENTITY())</CommandText>
1409 <Parameters>
1410 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@APIUrl" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="APIUrl" SourceColumnNullMapping="false" SourceVersion="Current" />
1411 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@IsDefault" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="IsDefault" SourceColumnNullMapping="false" SourceVersion="Current" />
1412 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@IsEnabled" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="IsEnabled" SourceColumnNullMapping="false" SourceVersion="Current" />
1413 </Parameters>
1414 </DbCommand>
1415 </InsertCommand>
1416 <SelectCommand>
1417 <DbCommand CommandType="Text" ModifiedByUser="false">
1418 <CommandText>SELECT Id, APIUrl, IsDefault, IsEnabled FROM dbo.SMSSetting</CommandText>
1419 <Parameters />
1420 </DbCommand>
1421 </SelectCommand>
1422 <UpdateCommand>
1423 <DbCommand CommandType="Text" ModifiedByUser="false">
1424 <CommandText>UPDATE [dbo].[SMSSetting] SET [APIUrl] = @APIUrl, [IsDefault] = @IsDefault, [IsEnabled] = @IsEnabled WHERE (([Id] = @Original_Id) AND ([IsDefault] = @Original_IsDefault) AND ([IsEnabled] = @Original_IsEnabled));
1425 SELECT Id, APIUrl, IsDefault, IsEnabled FROM SMSSetting WHERE (Id = @Id)</CommandText>
1426 <Parameters>
1427 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@APIUrl" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="APIUrl" SourceColumnNullMapping="false" SourceVersion="Current" />
1428 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@IsDefault" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="IsDefault" SourceColumnNullMapping="false" SourceVersion="Current" />
1429 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@IsEnabled" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="IsEnabled" SourceColumnNullMapping="false" SourceVersion="Current" />
1430 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
1431 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_IsDefault" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="IsDefault" SourceColumnNullMapping="false" SourceVersion="Original" />
1432 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_IsEnabled" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="IsEnabled" SourceColumnNullMapping="false" SourceVersion="Original" />
1433 <Parameter AllowDbNull="false" AutogeneratedName="Id" ColumnName="Id" DataSourceName="SIS_DB.dbo.SMSSetting" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Current" />
1434 </Parameters>
1435 </DbCommand>
1436 </UpdateCommand>
1437 </DbSource>
1438 </MainSource>
1439 <Mappings>
1440 <Mapping SourceColumn="Id" DataSetColumn="Id" />
1441 <Mapping SourceColumn="APIUrl" DataSetColumn="APIUrl" />
1442 <Mapping SourceColumn="IsDefault" DataSetColumn="IsDefault" />
1443 <Mapping SourceColumn="IsEnabled" DataSetColumn="IsEnabled" />
1444 </Mappings>
1445 <Sources />
1446 </TableAdapter>
1447 <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="StockTableAdapter" GeneratorDataComponentClassName="StockTableAdapter" Name="Stock" UserDataComponentName="StockTableAdapter">
1448 <MainSource>
1449 <DbSource ConnectionRef="SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.Stock" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
1450 <DeleteCommand>
1451 <DbCommand CommandType="Text" ModifiedByUser="false">
1452 <CommandText>DELETE FROM [dbo].[Stock] WHERE (([ST_ID] = @Original_ST_ID) AND ([Stock_ID] = @Original_Stock_ID) AND ([Date] = @Original_Date) AND ([SupplierID] = @Original_SupplierID) AND ([GrandTotal] = @Original_GrandTotal) AND ([TotalPayment] = @Original_TotalPayment) AND ([PaymentDue] = @Original_PaymentDue))</CommandText>
1453 <Parameters>
1454 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ST_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ST_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
1455 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Stock_ID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Stock_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
1456 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Original" />
1457 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SupplierID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SupplierID" SourceColumnNullMapping="false" SourceVersion="Original" />
1458 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_GrandTotal" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Original" />
1459 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TotalPayment" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalPayment" SourceColumnNullMapping="false" SourceVersion="Original" />
1460 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_PaymentDue" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="PaymentDue" SourceColumnNullMapping="false" SourceVersion="Original" />
1461 </Parameters>
1462 </DbCommand>
1463 </DeleteCommand>
1464 <InsertCommand>
1465 <DbCommand CommandType="Text" ModifiedByUser="false">
1466 <CommandText>INSERT INTO [dbo].[Stock] ([ST_ID], [Stock_ID], [Date], [SupplierID], [GrandTotal], [TotalPayment], [PaymentDue], [Remarks]) VALUES (@ST_ID, @Stock_ID, @Date, @SupplierID, @GrandTotal, @TotalPayment, @PaymentDue, @Remarks);
1467 SELECT ST_ID, Stock_ID, Date, SupplierID, GrandTotal, TotalPayment, PaymentDue, Remarks FROM Stock WHERE (ST_ID = @ST_ID)</CommandText>
1468 <Parameters>
1469 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ST_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ST_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
1470 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Stock_ID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Stock_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
1471 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Current" />
1472 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SupplierID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SupplierID" SourceColumnNullMapping="false" SourceVersion="Current" />
1473 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@GrandTotal" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
1474 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotalPayment" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalPayment" SourceColumnNullMapping="false" SourceVersion="Current" />
1475 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@PaymentDue" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="PaymentDue" SourceColumnNullMapping="false" SourceVersion="Current" />
1476 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Remarks" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Remarks" SourceColumnNullMapping="false" SourceVersion="Current" />
1477 </Parameters>
1478 </DbCommand>
1479 </InsertCommand>
1480 <SelectCommand>
1481 <DbCommand CommandType="Text" ModifiedByUser="false">
1482 <CommandText>SELECT ST_ID, Stock_ID, Date, SupplierID, GrandTotal, TotalPayment, PaymentDue, Remarks FROM dbo.Stock</CommandText>
1483 <Parameters />
1484 </DbCommand>
1485 </SelectCommand>
1486 <UpdateCommand>
1487 <DbCommand CommandType="Text" ModifiedByUser="false">
1488 <CommandText>UPDATE [dbo].[Stock] SET [ST_ID] = @ST_ID, [Stock_ID] = @Stock_ID, [Date] = @Date, [SupplierID] = @SupplierID, [GrandTotal] = @GrandTotal, [TotalPayment] = @TotalPayment, [PaymentDue] = @PaymentDue, [Remarks] = @Remarks WHERE (([ST_ID] = @Original_ST_ID) AND ([Stock_ID] = @Original_Stock_ID) AND ([Date] = @Original_Date) AND ([SupplierID] = @Original_SupplierID) AND ([GrandTotal] = @Original_GrandTotal) AND ([TotalPayment] = @Original_TotalPayment) AND ([PaymentDue] = @Original_PaymentDue));
1489 SELECT ST_ID, Stock_ID, Date, SupplierID, GrandTotal, TotalPayment, PaymentDue, Remarks FROM Stock WHERE (ST_ID = @ST_ID)</CommandText>
1490 <Parameters>
1491 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ST_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ST_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
1492 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Stock_ID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Stock_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
1493 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Current" />
1494 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SupplierID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SupplierID" SourceColumnNullMapping="false" SourceVersion="Current" />
1495 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@GrandTotal" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
1496 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotalPayment" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalPayment" SourceColumnNullMapping="false" SourceVersion="Current" />
1497 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@PaymentDue" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="PaymentDue" SourceColumnNullMapping="false" SourceVersion="Current" />
1498 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Remarks" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Remarks" SourceColumnNullMapping="false" SourceVersion="Current" />
1499 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ST_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ST_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
1500 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Stock_ID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Stock_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
1501 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Original" />
1502 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SupplierID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SupplierID" SourceColumnNullMapping="false" SourceVersion="Original" />
1503 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_GrandTotal" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Original" />
1504 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TotalPayment" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalPayment" SourceColumnNullMapping="false" SourceVersion="Original" />
1505 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_PaymentDue" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="PaymentDue" SourceColumnNullMapping="false" SourceVersion="Original" />
1506 </Parameters>
1507 </DbCommand>
1508 </UpdateCommand>
1509 </DbSource>
1510 </MainSource>
1511 <Mappings>
1512 <Mapping SourceColumn="ST_ID" DataSetColumn="ST_ID" />
1513 <Mapping SourceColumn="Stock_ID" DataSetColumn="Stock_ID" />
1514 <Mapping SourceColumn="Date" DataSetColumn="Date" />
1515 <Mapping SourceColumn="SupplierID" DataSetColumn="SupplierID" />
1516 <Mapping SourceColumn="GrandTotal" DataSetColumn="GrandTotal" />
1517 <Mapping SourceColumn="TotalPayment" DataSetColumn="TotalPayment" />
1518 <Mapping SourceColumn="PaymentDue" DataSetColumn="PaymentDue" />
1519 <Mapping SourceColumn="Remarks" DataSetColumn="Remarks" />
1520 </Mappings>
1521 <Sources />
1522 </TableAdapter>
1523 <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Stock_ProductTableAdapter" GeneratorDataComponentClassName="Stock_ProductTableAdapter" Name="Stock_Product" UserDataComponentName="Stock_ProductTableAdapter">
1524 <MainSource>
1525 <DbSource ConnectionRef="SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.Stock_Product" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
1526 <DeleteCommand>
1527 <DbCommand CommandType="Text" ModifiedByUser="false">
1528 <CommandText>DELETE FROM [dbo].[Stock_Product] WHERE (([SP_ID] = @Original_SP_ID) AND ([StockID] = @Original_StockID) AND ([ProductID] = @Original_ProductID) AND ([Qty] = @Original_Qty) AND ([Price] = @Original_Price) AND ([TotalAmount] = @Original_TotalAmount))</CommandText>
1529 <Parameters>
1530 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SP_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SP_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
1531 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_StockID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StockID" SourceColumnNullMapping="false" SourceVersion="Original" />
1532 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Original" />
1533 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Original" />
1534 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Price" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Price" SourceColumnNullMapping="false" SourceVersion="Original" />
1535 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TotalAmount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalAmount" SourceColumnNullMapping="false" SourceVersion="Original" />
1536 </Parameters>
1537 </DbCommand>
1538 </DeleteCommand>
1539 <InsertCommand>
1540 <DbCommand CommandType="Text" ModifiedByUser="false">
1541 <CommandText>INSERT INTO [dbo].[Stock_Product] ([StockID], [ProductID], [Qty], [Price], [TotalAmount]) VALUES (@StockID, @ProductID, @Qty, @Price, @TotalAmount);
1542 SELECT SP_ID, StockID, ProductID, Qty, Price, TotalAmount FROM Stock_Product WHERE (SP_ID = SCOPE_IDENTITY())</CommandText>
1543 <Parameters>
1544 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@StockID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StockID" SourceColumnNullMapping="false" SourceVersion="Current" />
1545 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Current" />
1546 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Current" />
1547 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Price" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Price" SourceColumnNullMapping="false" SourceVersion="Current" />
1548 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotalAmount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalAmount" SourceColumnNullMapping="false" SourceVersion="Current" />
1549 </Parameters>
1550 </DbCommand>
1551 </InsertCommand>
1552 <SelectCommand>
1553 <DbCommand CommandType="Text" ModifiedByUser="false">
1554 <CommandText>SELECT SP_ID, StockID, ProductID, Qty, Price, TotalAmount FROM dbo.Stock_Product</CommandText>
1555 <Parameters />
1556 </DbCommand>
1557 </SelectCommand>
1558 <UpdateCommand>
1559 <DbCommand CommandType="Text" ModifiedByUser="false">
1560 <CommandText>UPDATE [dbo].[Stock_Product] SET [StockID] = @StockID, [ProductID] = @ProductID, [Qty] = @Qty, [Price] = @Price, [TotalAmount] = @TotalAmount WHERE (([SP_ID] = @Original_SP_ID) AND ([StockID] = @Original_StockID) AND ([ProductID] = @Original_ProductID) AND ([Qty] = @Original_Qty) AND ([Price] = @Original_Price) AND ([TotalAmount] = @Original_TotalAmount));
1561 SELECT SP_ID, StockID, ProductID, Qty, Price, TotalAmount FROM Stock_Product WHERE (SP_ID = @SP_ID)</CommandText>
1562 <Parameters>
1563 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@StockID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StockID" SourceColumnNullMapping="false" SourceVersion="Current" />
1564 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Current" />
1565 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Current" />
1566 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Price" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Price" SourceColumnNullMapping="false" SourceVersion="Current" />
1567 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotalAmount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalAmount" SourceColumnNullMapping="false" SourceVersion="Current" />
1568 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SP_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SP_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
1569 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_StockID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StockID" SourceColumnNullMapping="false" SourceVersion="Original" />
1570 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Original" />
1571 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Original" />
1572 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Price" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Price" SourceColumnNullMapping="false" SourceVersion="Original" />
1573 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TotalAmount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TotalAmount" SourceColumnNullMapping="false" SourceVersion="Original" />
1574 <Parameter AllowDbNull="false" AutogeneratedName="SP_ID" ColumnName="SP_ID" DataSourceName="SIS_DB.dbo.Stock_Product" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@SP_ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="SP_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
1575 </Parameters>
1576 </DbCommand>
1577 </UpdateCommand>
1578 </DbSource>
1579 </MainSource>
1580 <Mappings>
1581 <Mapping SourceColumn="SP_ID" DataSetColumn="SP_ID" />
1582 <Mapping SourceColumn="StockID" DataSetColumn="StockID" />
1583 <Mapping SourceColumn="ProductID" DataSetColumn="ProductID" />
1584 <Mapping SourceColumn="Qty" DataSetColumn="Qty" />
1585 <Mapping SourceColumn="Price" DataSetColumn="Price" />
1586 <Mapping SourceColumn="TotalAmount" DataSetColumn="TotalAmount" />
1587 </Mappings>
1588 <Sources />
1589 </TableAdapter>
1590 <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SubCategoryTableAdapter" GeneratorDataComponentClassName="SubCategoryTableAdapter" Name="SubCategory" UserDataComponentName="SubCategoryTableAdapter">
1591 <MainSource>
1592 <DbSource ConnectionRef="SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.SubCategory" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
1593 <DeleteCommand>
1594 <DbCommand CommandType="Text" ModifiedByUser="false">
1595 <CommandText>DELETE FROM [dbo].[SubCategory] WHERE (([ID] = @Original_ID) AND ([SubCategoryName] = @Original_SubCategoryName) AND ([Category] = @Original_Category))</CommandText>
1596 <Parameters>
1597 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
1598 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_SubCategoryName" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="SubCategoryName" SourceColumnNullMapping="false" SourceVersion="Original" />
1599 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Category" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Category" SourceColumnNullMapping="false" SourceVersion="Original" />
1600 </Parameters>
1601 </DbCommand>
1602 </DeleteCommand>
1603 <InsertCommand>
1604 <DbCommand CommandType="Text" ModifiedByUser="false">
1605 <CommandText>INSERT INTO [dbo].[SubCategory] ([ID], [SubCategoryName], [Category]) VALUES (@ID, @SubCategoryName, @Category);
1606 SELECT ID, SubCategoryName, Category FROM SubCategory WHERE (ID = @ID)</CommandText>
1607 <Parameters>
1608 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
1609 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@SubCategoryName" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="SubCategoryName" SourceColumnNullMapping="false" SourceVersion="Current" />
1610 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Category" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Category" SourceColumnNullMapping="false" SourceVersion="Current" />
1611 </Parameters>
1612 </DbCommand>
1613 </InsertCommand>
1614 <SelectCommand>
1615 <DbCommand CommandType="Text" ModifiedByUser="false">
1616 <CommandText>SELECT ID, SubCategoryName, Category FROM dbo.SubCategory</CommandText>
1617 <Parameters />
1618 </DbCommand>
1619 </SelectCommand>
1620 <UpdateCommand>
1621 <DbCommand CommandType="Text" ModifiedByUser="false">
1622 <CommandText>UPDATE [dbo].[SubCategory] SET [ID] = @ID, [SubCategoryName] = @SubCategoryName, [Category] = @Category WHERE (([ID] = @Original_ID) AND ([SubCategoryName] = @Original_SubCategoryName) AND ([Category] = @Original_Category));
1623 SELECT ID, SubCategoryName, Category FROM SubCategory WHERE (ID = @ID)</CommandText>
1624 <Parameters>
1625 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
1626 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@SubCategoryName" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="SubCategoryName" SourceColumnNullMapping="false" SourceVersion="Current" />
1627 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Category" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Category" SourceColumnNullMapping="false" SourceVersion="Current" />
1628 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
1629 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_SubCategoryName" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="SubCategoryName" SourceColumnNullMapping="false" SourceVersion="Original" />
1630 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Category" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Category" SourceColumnNullMapping="false" SourceVersion="Original" />
1631 </Parameters>
1632 </DbCommand>
1633 </UpdateCommand>
1634 </DbSource>
1635 </MainSource>
1636 <Mappings>
1637 <Mapping SourceColumn="ID" DataSetColumn="ID" />
1638 <Mapping SourceColumn="SubCategoryName" DataSetColumn="SubCategoryName" />
1639 <Mapping SourceColumn="Category" DataSetColumn="Category" />
1640 </Mappings>
1641 <Sources />
1642 </TableAdapter>
1643 <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SupplierTableAdapter" GeneratorDataComponentClassName="SupplierTableAdapter" Name="Supplier" UserDataComponentName="SupplierTableAdapter">
1644 <MainSource>
1645 <DbSource ConnectionRef="SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.Supplier" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
1646 <DeleteCommand>
1647 <DbCommand CommandType="Text" ModifiedByUser="false">
1648 <CommandText>DELETE FROM [dbo].[Supplier] WHERE (([ID] = @Original_ID) AND ([SupplierID] = @Original_SupplierID) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)) AND ((@IsNull_Address = 1 AND [Address] IS NULL) OR ([Address] = @Original_Address)) AND ((@IsNull_City = 1 AND [City] IS NULL) OR ([City] = @Original_City)) AND ((@IsNull_State = 1 AND [State] IS NULL) OR ([State] = @Original_State)) AND ((@IsNull_ZipCode = 1 AND [ZipCode] IS NULL) OR ([ZipCode] = @Original_ZipCode)) AND ((@IsNull_ContactNo = 1 AND [ContactNo] IS NULL) OR ([ContactNo] = @Original_ContactNo)) AND ((@IsNull_EmailID = 1 AND [EmailID] IS NULL) OR ([EmailID] = @Original_EmailID)))</CommandText>
1649 <Parameters>
1650 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
1651 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_SupplierID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="SupplierID" SourceColumnNullMapping="false" SourceVersion="Original" />
1652 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
1653 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
1654 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Address" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="true" SourceVersion="Original" />
1655 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Original" />
1656 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_City" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="true" SourceVersion="Original" />
1657 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_City" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="false" SourceVersion="Original" />
1658 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_State" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="State" SourceColumnNullMapping="true" SourceVersion="Original" />
1659 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_State" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="State" SourceColumnNullMapping="false" SourceVersion="Original" />
1660 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ZipCode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ZipCode" SourceColumnNullMapping="true" SourceVersion="Original" />
1661 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ZipCode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ZipCode" SourceColumnNullMapping="false" SourceVersion="Original" />
1662 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactNo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="true" SourceVersion="Original" />
1663 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ContactNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Original" />
1664 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EmailID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="true" SourceVersion="Original" />
1665 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_EmailID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="false" SourceVersion="Original" />
1666 </Parameters>
1667 </DbCommand>
1668 </DeleteCommand>
1669 <InsertCommand>
1670 <DbCommand CommandType="Text" ModifiedByUser="false">
1671 <CommandText>INSERT INTO [dbo].[Supplier] ([ID], [SupplierID], [Name], [Address], [City], [State], [ZipCode], [ContactNo], [EmailID], [Remarks]) VALUES (@ID, @SupplierID, @Name, @Address, @City, @State, @ZipCode, @ContactNo, @EmailID, @Remarks);
1672 SELECT ID, SupplierID, Name, Address, City, State, ZipCode, ContactNo, EmailID, Remarks FROM Supplier WHERE (ID = @ID)</CommandText>
1673 <Parameters>
1674 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
1675 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@SupplierID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="SupplierID" SourceColumnNullMapping="false" SourceVersion="Current" />
1676 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
1677 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Current" />
1678 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@City" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="false" SourceVersion="Current" />
1679 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@State" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="State" SourceColumnNullMapping="false" SourceVersion="Current" />
1680 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ZipCode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ZipCode" SourceColumnNullMapping="false" SourceVersion="Current" />
1681 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ContactNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Current" />
1682 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@EmailID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="false" SourceVersion="Current" />
1683 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Remarks" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Remarks" SourceColumnNullMapping="false" SourceVersion="Current" />
1684 </Parameters>
1685 </DbCommand>
1686 </InsertCommand>
1687 <SelectCommand>
1688 <DbCommand CommandType="Text" ModifiedByUser="false">
1689 <CommandText>SELECT ID, SupplierID, Name, Address, City, State, ZipCode, ContactNo, EmailID, Remarks FROM dbo.Supplier</CommandText>
1690 <Parameters />
1691 </DbCommand>
1692 </SelectCommand>
1693 <UpdateCommand>
1694 <DbCommand CommandType="Text" ModifiedByUser="false">
1695 <CommandText>UPDATE [dbo].[Supplier] SET [ID] = @ID, [SupplierID] = @SupplierID, [Name] = @Name, [Address] = @Address, [City] = @City, [State] = @State, [ZipCode] = @ZipCode, [ContactNo] = @ContactNo, [EmailID] = @EmailID, [Remarks] = @Remarks WHERE (([ID] = @Original_ID) AND ([SupplierID] = @Original_SupplierID) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)) AND ((@IsNull_Address = 1 AND [Address] IS NULL) OR ([Address] = @Original_Address)) AND ((@IsNull_City = 1 AND [City] IS NULL) OR ([City] = @Original_City)) AND ((@IsNull_State = 1 AND [State] IS NULL) OR ([State] = @Original_State)) AND ((@IsNull_ZipCode = 1 AND [ZipCode] IS NULL) OR ([ZipCode] = @Original_ZipCode)) AND ((@IsNull_ContactNo = 1 AND [ContactNo] IS NULL) OR ([ContactNo] = @Original_ContactNo)) AND ((@IsNull_EmailID = 1 AND [EmailID] IS NULL) OR ([EmailID] = @Original_EmailID)));
1696 SELECT ID, SupplierID, Name, Address, City, State, ZipCode, ContactNo, EmailID, Remarks FROM Supplier WHERE (ID = @ID)</CommandText>
1697 <Parameters>
1698 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
1699 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@SupplierID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="SupplierID" SourceColumnNullMapping="false" SourceVersion="Current" />
1700 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
1701 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Current" />
1702 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@City" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="false" SourceVersion="Current" />
1703 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@State" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="State" SourceColumnNullMapping="false" SourceVersion="Current" />
1704 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ZipCode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ZipCode" SourceColumnNullMapping="false" SourceVersion="Current" />
1705 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ContactNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Current" />
1706 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@EmailID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="false" SourceVersion="Current" />
1707 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Remarks" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Remarks" SourceColumnNullMapping="false" SourceVersion="Current" />
1708 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
1709 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_SupplierID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="SupplierID" SourceColumnNullMapping="false" SourceVersion="Original" />
1710 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
1711 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
1712 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Address" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="true" SourceVersion="Original" />
1713 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Original" />
1714 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_City" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="true" SourceVersion="Original" />
1715 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_City" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="false" SourceVersion="Original" />
1716 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_State" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="State" SourceColumnNullMapping="true" SourceVersion="Original" />
1717 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_State" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="State" SourceColumnNullMapping="false" SourceVersion="Original" />
1718 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ZipCode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ZipCode" SourceColumnNullMapping="true" SourceVersion="Original" />
1719 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ZipCode" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ZipCode" SourceColumnNullMapping="false" SourceVersion="Original" />
1720 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactNo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="true" SourceVersion="Original" />
1721 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_ContactNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ContactNo" SourceColumnNullMapping="false" SourceVersion="Original" />
1722 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EmailID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="true" SourceVersion="Original" />
1723 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_EmailID" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="EmailID" SourceColumnNullMapping="false" SourceVersion="Original" />
1724 </Parameters>
1725 </DbCommand>
1726 </UpdateCommand>
1727 </DbSource>
1728 </MainSource>
1729 <Mappings>
1730 <Mapping SourceColumn="ID" DataSetColumn="ID" />
1731 <Mapping SourceColumn="SupplierID" DataSetColumn="SupplierID" />
1732 <Mapping SourceColumn="Name" DataSetColumn="Name" />
1733 <Mapping SourceColumn="Address" DataSetColumn="Address" />
1734 <Mapping SourceColumn="City" DataSetColumn="City" />
1735 <Mapping SourceColumn="State" DataSetColumn="State" />
1736 <Mapping SourceColumn="ZipCode" DataSetColumn="ZipCode" />
1737 <Mapping SourceColumn="ContactNo" DataSetColumn="ContactNo" />
1738 <Mapping SourceColumn="EmailID" DataSetColumn="EmailID" />
1739 <Mapping SourceColumn="Remarks" DataSetColumn="Remarks" />
1740 </Mappings>
1741 <Sources />
1742 </TableAdapter>
1743 <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Temp_StockTableAdapter" GeneratorDataComponentClassName="Temp_StockTableAdapter" Name="Temp_Stock" UserDataComponentName="Temp_StockTableAdapter">
1744 <MainSource>
1745 <DbSource ConnectionRef="SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.Temp_Stock" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
1746 <DeleteCommand>
1747 <DbCommand CommandType="Text" ModifiedByUser="false">
1748 <CommandText>DELETE FROM [dbo].[Temp_Stock] WHERE (([ProductID] = @Original_ProductID) AND ([Qty] = @Original_Qty))</CommandText>
1749 <Parameters>
1750 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Original" />
1751 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Original" />
1752 </Parameters>
1753 </DbCommand>
1754 </DeleteCommand>
1755 <InsertCommand>
1756 <DbCommand CommandType="Text" ModifiedByUser="false">
1757 <CommandText>INSERT INTO [dbo].[Temp_Stock] ([ProductID], [Qty]) VALUES (@ProductID, @Qty);
1758 SELECT ProductID, Qty FROM Temp_Stock WHERE (ProductID = @ProductID)</CommandText>
1759 <Parameters>
1760 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Current" />
1761 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Current" />
1762 </Parameters>
1763 </DbCommand>
1764 </InsertCommand>
1765 <SelectCommand>
1766 <DbCommand CommandType="Text" ModifiedByUser="false">
1767 <CommandText>SELECT ProductID, Qty FROM dbo.Temp_Stock</CommandText>
1768 <Parameters />
1769 </DbCommand>
1770 </SelectCommand>
1771 <UpdateCommand>
1772 <DbCommand CommandType="Text" ModifiedByUser="false">
1773 <CommandText>UPDATE [dbo].[Temp_Stock] SET [ProductID] = @ProductID, [Qty] = @Qty WHERE (([ProductID] = @Original_ProductID) AND ([Qty] = @Original_Qty));
1774 SELECT ProductID, Qty FROM Temp_Stock WHERE (ProductID = @ProductID)</CommandText>
1775 <Parameters>
1776 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Current" />
1777 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Current" />
1778 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Original" />
1779 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Qty" SourceColumnNullMapping="false" SourceVersion="Original" />
1780 </Parameters>
1781 </DbCommand>
1782 </UpdateCommand>
1783 </DbSource>
1784 </MainSource>
1785 <Mappings>
1786 <Mapping SourceColumn="ProductID" DataSetColumn="ProductID" />
1787 <Mapping SourceColumn="Qty" DataSetColumn="Qty" />
1788 </Mappings>
1789 <Sources />
1790 </TableAdapter>
1791 <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="VoucherTableAdapter" GeneratorDataComponentClassName="VoucherTableAdapter" Name="Voucher" UserDataComponentName="VoucherTableAdapter">
1792 <MainSource>
1793 <DbSource ConnectionRef="SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.Voucher" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
1794 <DeleteCommand>
1795 <DbCommand CommandType="Text" ModifiedByUser="false">
1796 <CommandText>DELETE FROM [dbo].[Voucher] WHERE (([Id] = @Original_Id) AND ([VoucherNo] = @Original_VoucherNo) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)) AND ([Date] = @Original_Date) AND ((@IsNull_Details = 1 AND [Details] IS NULL) OR ([Details] = @Original_Details)) AND ([GrandTotal] = @Original_GrandTotal))</CommandText>
1797 <Parameters>
1798 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
1799 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_VoucherNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="VoucherNo" SourceColumnNullMapping="false" SourceVersion="Original" />
1800 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
1801 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
1802 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Original" />
1803 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Details" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Details" SourceColumnNullMapping="true" SourceVersion="Original" />
1804 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Details" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Details" SourceColumnNullMapping="false" SourceVersion="Original" />
1805 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_GrandTotal" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Original" />
1806 </Parameters>
1807 </DbCommand>
1808 </DeleteCommand>
1809 <InsertCommand>
1810 <DbCommand CommandType="Text" ModifiedByUser="false">
1811 <CommandText>INSERT INTO [dbo].[Voucher] ([Id], [VoucherNo], [Name], [Date], [Details], [GrandTotal]) VALUES (@Id, @VoucherNo, @Name, @Date, @Details, @GrandTotal);
1812 SELECT Id, VoucherNo, Name, Date, Details, GrandTotal FROM Voucher WHERE (Id = @Id)</CommandText>
1813 <Parameters>
1814 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Current" />
1815 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@VoucherNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="VoucherNo" SourceColumnNullMapping="false" SourceVersion="Current" />
1816 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
1817 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Current" />
1818 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Details" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Details" SourceColumnNullMapping="false" SourceVersion="Current" />
1819 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@GrandTotal" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
1820 </Parameters>
1821 </DbCommand>
1822 </InsertCommand>
1823 <SelectCommand>
1824 <DbCommand CommandType="Text" ModifiedByUser="false">
1825 <CommandText>SELECT Id, VoucherNo, Name, Date, Details, GrandTotal FROM dbo.Voucher</CommandText>
1826 <Parameters />
1827 </DbCommand>
1828 </SelectCommand>
1829 <UpdateCommand>
1830 <DbCommand CommandType="Text" ModifiedByUser="false">
1831 <CommandText>UPDATE [dbo].[Voucher] SET [Id] = @Id, [VoucherNo] = @VoucherNo, [Name] = @Name, [Date] = @Date, [Details] = @Details, [GrandTotal] = @GrandTotal WHERE (([Id] = @Original_Id) AND ([VoucherNo] = @Original_VoucherNo) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)) AND ([Date] = @Original_Date) AND ((@IsNull_Details = 1 AND [Details] IS NULL) OR ([Details] = @Original_Details)) AND ([GrandTotal] = @Original_GrandTotal));
1832 SELECT Id, VoucherNo, Name, Date, Details, GrandTotal FROM Voucher WHERE (Id = @Id)</CommandText>
1833 <Parameters>
1834 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Current" />
1835 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@VoucherNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="VoucherNo" SourceColumnNullMapping="false" SourceVersion="Current" />
1836 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
1837 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Current" />
1838 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Details" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Details" SourceColumnNullMapping="false" SourceVersion="Current" />
1839 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@GrandTotal" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
1840 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
1841 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_VoucherNo" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="VoucherNo" SourceColumnNullMapping="false" SourceVersion="Original" />
1842 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
1843 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
1844 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Original" />
1845 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Details" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Details" SourceColumnNullMapping="true" SourceVersion="Original" />
1846 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Details" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Details" SourceColumnNullMapping="false" SourceVersion="Original" />
1847 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_GrandTotal" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="GrandTotal" SourceColumnNullMapping="false" SourceVersion="Original" />
1848 </Parameters>
1849 </DbCommand>
1850 </UpdateCommand>
1851 </DbSource>
1852 </MainSource>
1853 <Mappings>
1854 <Mapping SourceColumn="Id" DataSetColumn="Id" />
1855 <Mapping SourceColumn="VoucherNo" DataSetColumn="VoucherNo" />
1856 <Mapping SourceColumn="Name" DataSetColumn="Name" />
1857 <Mapping SourceColumn="Date" DataSetColumn="Date" />
1858 <Mapping SourceColumn="Details" DataSetColumn="Details" />
1859 <Mapping SourceColumn="GrandTotal" DataSetColumn="GrandTotal" />
1860 </Mappings>
1861 <Sources />
1862 </TableAdapter>
1863 <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Voucher_OtherDetailsTableAdapter" GeneratorDataComponentClassName="Voucher_OtherDetailsTableAdapter" Name="Voucher_OtherDetails" UserDataComponentName="Voucher_OtherDetailsTableAdapter">
1864 <MainSource>
1865 <DbSource ConnectionRef="SIS_DBConnectionString1 (MySettings)" DbObjectName="SIS_DB.dbo.Voucher_OtherDetails" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
1866 <DeleteCommand>
1867 <DbCommand CommandType="Text" ModifiedByUser="false">
1868 <CommandText>DELETE FROM [dbo].[Voucher_OtherDetails] WHERE (([VD_ID] = @Original_VD_ID) AND ([VoucherID] = @Original_VoucherID) AND ([Particulars] = @Original_Particulars) AND ([Amount] = @Original_Amount))</CommandText>
1869 <Parameters>
1870 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_VD_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VD_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
1871 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_VoucherID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VoucherID" SourceColumnNullMapping="false" SourceVersion="Original" />
1872 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Particulars" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Particulars" SourceColumnNullMapping="false" SourceVersion="Original" />
1873 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Amount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Original" />
1874 </Parameters>
1875 </DbCommand>
1876 </DeleteCommand>
1877 <InsertCommand>
1878 <DbCommand CommandType="Text" ModifiedByUser="false">
1879 <CommandText>INSERT INTO [dbo].[Voucher_OtherDetails] ([VoucherID], [Particulars], [Amount], [Note]) VALUES (@VoucherID, @Particulars, @Amount, @Note);
1880 SELECT VD_ID, VoucherID, Particulars, Amount, Note FROM Voucher_OtherDetails WHERE (VD_ID = SCOPE_IDENTITY())</CommandText>
1881 <Parameters>
1882 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@VoucherID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VoucherID" SourceColumnNullMapping="false" SourceVersion="Current" />
1883 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Particulars" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Particulars" SourceColumnNullMapping="false" SourceVersion="Current" />
1884 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Amount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Current" />
1885 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Note" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Note" SourceColumnNullMapping="false" SourceVersion="Current" />
1886 </Parameters>
1887 </DbCommand>
1888 </InsertCommand>
1889 <SelectCommand>
1890 <DbCommand CommandType="Text" ModifiedByUser="false">
1891 <CommandText>SELECT VD_ID, VoucherID, Particulars, Amount, Note FROM dbo.Voucher_OtherDetails</CommandText>
1892 <Parameters />
1893 </DbCommand>
1894 </SelectCommand>
1895 <UpdateCommand>
1896 <DbCommand CommandType="Text" ModifiedByUser="false">
1897 <CommandText>UPDATE [dbo].[Voucher_OtherDetails] SET [VoucherID] = @VoucherID, [Particulars] = @Particulars, [Amount] = @Amount, [Note] = @Note WHERE (([VD_ID] = @Original_VD_ID) AND ([VoucherID] = @Original_VoucherID) AND ([Particulars] = @Original_Particulars) AND ([Amount] = @Original_Amount));
1898 SELECT VD_ID, VoucherID, Particulars, Amount, Note FROM Voucher_OtherDetails WHERE (VD_ID = @VD_ID)</CommandText>
1899 <Parameters>
1900 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@VoucherID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VoucherID" SourceColumnNullMapping="false" SourceVersion="Current" />
1901 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Particulars" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Particulars" SourceColumnNullMapping="false" SourceVersion="Current" />
1902 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Amount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Current" />
1903 <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Note" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Note" SourceColumnNullMapping="false" SourceVersion="Current" />
1904 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_VD_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VD_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
1905 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_VoucherID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VoucherID" SourceColumnNullMapping="false" SourceVersion="Original" />
1906 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Particulars" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Particulars" SourceColumnNullMapping="false" SourceVersion="Original" />
1907 <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Amount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Original" />
1908 <Parameter AllowDbNull="false" AutogeneratedName="VD_ID" ColumnName="VD_ID" DataSourceName="SIS_DB.dbo.Voucher_OtherDetails" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@VD_ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="VD_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
1909 </Parameters>
1910 </DbCommand>
1911 </UpdateCommand>
1912 </DbSource>
1913 </MainSource>
1914 <Mappings>
1915 <Mapping SourceColumn="VD_ID" DataSetColumn="VD_ID" />
1916 <Mapping SourceColumn="VoucherID" DataSetColumn="VoucherID" />
1917 <Mapping SourceColumn="Particulars" DataSetColumn="Particulars" />
1918 <Mapping SourceColumn="Amount" DataSetColumn="Amount" />
1919 <Mapping SourceColumn="Note" DataSetColumn="Note" />
1920 </Mappings>
1921 <Sources />
1922 </TableAdapter>
1923 </Tables>
1924 <Sources />
1925 </DataSource>
1926 </xs:appinfo>
1927 </xs:annotation>
1928 <xs:element name="SIS_DBDataSet2" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msdata:EnforceConstraints="False" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="SIS_DBDataSet2" msprop:Generator_UserDSName="SIS_DBDataSet2">
1929 <xs:complexType>
1930 <xs:choice minOccurs="0" maxOccurs="unbounded">
1931 <xs:element name="Activation" msprop:Generator_TableClassName="ActivationDataTable" msprop:Generator_TableVarName="tableActivation" msprop:Generator_RowChangedName="ActivationRowChanged" msprop:Generator_TablePropName="Activation" msprop:Generator_RowDeletingName="ActivationRowDeleting" msprop:Generator_RowChangingName="ActivationRowChanging" msprop:Generator_RowEvHandlerName="ActivationRowChangeEventHandler" msprop:Generator_RowDeletedName="ActivationRowDeleted" msprop:Generator_RowClassName="ActivationRow" msprop:Generator_UserTableName="Activation" msprop:Generator_RowEvArgName="ActivationRowChangeEvent">
1932 <xs:complexType>
1933 <xs:sequence>
1934 <xs:element name="ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
1935 <xs:element name="HardwareID" msprop:Generator_ColumnVarNameInTable="columnHardwareID" msprop:Generator_ColumnPropNameInRow="HardwareID" msprop:Generator_ColumnPropNameInTable="HardwareIDColumn" msprop:Generator_UserColumnName="HardwareID">
1936 <xs:simpleType>
1937 <xs:restriction base="xs:string">
1938 <xs:maxLength value="100" />
1939 </xs:restriction>
1940 </xs:simpleType>
1941 </xs:element>
1942 <xs:element name="SerialNo" msprop:Generator_ColumnVarNameInTable="columnSerialNo" msprop:Generator_ColumnPropNameInRow="SerialNo" msprop:Generator_ColumnPropNameInTable="SerialNoColumn" msprop:Generator_UserColumnName="SerialNo">
1943 <xs:simpleType>
1944 <xs:restriction base="xs:string">
1945 <xs:maxLength value="100" />
1946 </xs:restriction>
1947 </xs:simpleType>
1948 </xs:element>
1949 <xs:element name="ActivationID" msprop:Generator_ColumnVarNameInTable="columnActivationID" msprop:Generator_ColumnPropNameInRow="ActivationID" msprop:Generator_ColumnPropNameInTable="ActivationIDColumn" msprop:Generator_UserColumnName="ActivationID">
1950 <xs:simpleType>
1951 <xs:restriction base="xs:string">
1952 <xs:maxLength value="150" />
1953 </xs:restriction>
1954 </xs:simpleType>
1955 </xs:element>
1956 </xs:sequence>
1957 </xs:complexType>
1958 </xs:element>
1959 <xs:element name="Category" msprop:Generator_TableClassName="CategoryDataTable" msprop:Generator_TableVarName="tableCategory" msprop:Generator_RowChangedName="CategoryRowChanged" msprop:Generator_TablePropName="Category" msprop:Generator_RowDeletingName="CategoryRowDeleting" msprop:Generator_RowChangingName="CategoryRowChanging" msprop:Generator_RowEvHandlerName="CategoryRowChangeEventHandler" msprop:Generator_RowDeletedName="CategoryRowDeleted" msprop:Generator_RowClassName="CategoryRow" msprop:Generator_UserTableName="Category" msprop:Generator_RowEvArgName="CategoryRowChangeEvent">
1960 <xs:complexType>
1961 <xs:sequence>
1962 <xs:element name="CategoryName" msprop:Generator_ColumnVarNameInTable="columnCategoryName" msprop:Generator_ColumnPropNameInRow="CategoryName" msprop:Generator_ColumnPropNameInTable="CategoryNameColumn" msprop:Generator_UserColumnName="CategoryName">
1963 <xs:simpleType>
1964 <xs:restriction base="xs:string">
1965 <xs:maxLength value="150" />
1966 </xs:restriction>
1967 </xs:simpleType>
1968 </xs:element>
1969 </xs:sequence>
1970 </xs:complexType>
1971 </xs:element>
1972 <xs:element name="Company" msprop:Generator_TableClassName="CompanyDataTable" msprop:Generator_TableVarName="tableCompany" msprop:Generator_RowChangedName="CompanyRowChanged" msprop:Generator_TablePropName="Company" msprop:Generator_RowDeletingName="CompanyRowDeleting" msprop:Generator_RowChangingName="CompanyRowChanging" msprop:Generator_RowEvHandlerName="CompanyRowChangeEventHandler" msprop:Generator_RowDeletedName="CompanyRowDeleted" msprop:Generator_RowClassName="CompanyRow" msprop:Generator_UserTableName="Company" msprop:Generator_RowEvArgName="CompanyRowChangeEvent">
1973 <xs:complexType>
1974 <xs:sequence>
1975 <xs:element name="ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
1976 <xs:element name="CompanyName" msprop:Generator_ColumnVarNameInTable="columnCompanyName" msprop:Generator_ColumnPropNameInRow="CompanyName" msprop:Generator_ColumnPropNameInTable="CompanyNameColumn" msprop:Generator_UserColumnName="CompanyName">
1977 <xs:simpleType>
1978 <xs:restriction base="xs:string">
1979 <xs:maxLength value="200" />
1980 </xs:restriction>
1981 </xs:simpleType>
1982 </xs:element>
1983 <xs:element name="Address" msprop:Generator_ColumnVarNameInTable="columnAddress" msprop:Generator_ColumnPropNameInRow="Address" msprop:Generator_ColumnPropNameInTable="AddressColumn" msprop:Generator_UserColumnName="Address">
1984 <xs:simpleType>
1985 <xs:restriction base="xs:string">
1986 <xs:maxLength value="250" />
1987 </xs:restriction>
1988 </xs:simpleType>
1989 </xs:element>
1990 <xs:element name="ContactNo" msprop:Generator_ColumnVarNameInTable="columnContactNo" msprop:Generator_ColumnPropNameInRow="ContactNo" msprop:Generator_ColumnPropNameInTable="ContactNoColumn" msprop:Generator_UserColumnName="ContactNo">
1991 <xs:simpleType>
1992 <xs:restriction base="xs:string">
1993 <xs:maxLength value="150" />
1994 </xs:restriction>
1995 </xs:simpleType>
1996 </xs:element>
1997 <xs:element name="EmailID" msprop:Generator_ColumnVarNameInTable="columnEmailID" msprop:Generator_ColumnPropNameInRow="EmailID" msprop:Generator_ColumnPropNameInTable="EmailIDColumn" msprop:Generator_UserColumnName="EmailID">
1998 <xs:simpleType>
1999 <xs:restriction base="xs:string">
2000 <xs:maxLength value="150" />
2001 </xs:restriction>
2002 </xs:simpleType>
2003 </xs:element>
2004 <xs:element name="Logo" msprop:Generator_ColumnVarNameInTable="columnLogo" msprop:Generator_ColumnPropNameInRow="Logo" msprop:Generator_ColumnPropNameInTable="LogoColumn" msprop:Generator_UserColumnName="Logo" type="xs:base64Binary" />
2005 <xs:element name="TIN" msprop:Generator_ColumnVarNameInTable="columnTIN" msprop:Generator_ColumnPropNameInRow="TIN" msprop:Generator_ColumnPropNameInTable="TINColumn" msprop:Generator_UserColumnName="TIN" minOccurs="0">
2006 <xs:simpleType>
2007 <xs:restriction base="xs:string">
2008 <xs:maxLength value="150" />
2009 </xs:restriction>
2010 </xs:simpleType>
2011 </xs:element>
2012 <xs:element name="STNo" msprop:Generator_ColumnVarNameInTable="columnSTNo" msprop:Generator_ColumnPropNameInRow="STNo" msprop:Generator_ColumnPropNameInTable="STNoColumn" msprop:Generator_UserColumnName="STNo" minOccurs="0">
2013 <xs:simpleType>
2014 <xs:restriction base="xs:string">
2015 <xs:maxLength value="150" />
2016 </xs:restriction>
2017 </xs:simpleType>
2018 </xs:element>
2019 <xs:element name="CIN" msprop:Generator_ColumnVarNameInTable="columnCIN" msprop:Generator_ColumnPropNameInRow="CIN" msprop:Generator_ColumnPropNameInTable="CINColumn" msprop:Generator_UserColumnName="CIN" minOccurs="0">
2020 <xs:simpleType>
2021 <xs:restriction base="xs:string">
2022 <xs:maxLength value="150" />
2023 </xs:restriction>
2024 </xs:simpleType>
2025 </xs:element>
2026 </xs:sequence>
2027 </xs:complexType>
2028 </xs:element>
2029 <xs:element name="Company_Contacts" msprop:Generator_TableClassName="Company_ContactsDataTable" msprop:Generator_TableVarName="tableCompany_Contacts" msprop:Generator_RowChangedName="Company_ContactsRowChanged" msprop:Generator_TablePropName="Company_Contacts" msprop:Generator_RowDeletingName="Company_ContactsRowDeleting" msprop:Generator_RowChangingName="Company_ContactsRowChanging" msprop:Generator_RowEvHandlerName="Company_ContactsRowChangeEventHandler" msprop:Generator_RowDeletedName="Company_ContactsRowDeleted" msprop:Generator_RowClassName="Company_ContactsRow" msprop:Generator_UserTableName="Company_Contacts" msprop:Generator_RowEvArgName="Company_ContactsRowChangeEvent">
2030 <xs:complexType>
2031 <xs:sequence>
2032 <xs:element name="Id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnPropNameInTable="IdColumn" msprop:Generator_UserColumnName="Id" type="xs:int" />
2033 <xs:element name="ContactPerson" msprop:Generator_ColumnVarNameInTable="columnContactPerson" msprop:Generator_ColumnPropNameInRow="ContactPerson" msprop:Generator_ColumnPropNameInTable="ContactPersonColumn" msprop:Generator_UserColumnName="ContactPerson">
2034 <xs:simpleType>
2035 <xs:restriction base="xs:string">
2036 <xs:maxLength value="150" />
2037 </xs:restriction>
2038 </xs:simpleType>
2039 </xs:element>
2040 <xs:element name="ContactNo" msprop:Generator_ColumnVarNameInTable="columnContactNo" msprop:Generator_ColumnPropNameInRow="ContactNo" msprop:Generator_ColumnPropNameInTable="ContactNoColumn" msprop:Generator_UserColumnName="ContactNo">
2041 <xs:simpleType>
2042 <xs:restriction base="xs:string">
2043 <xs:maxLength value="150" />
2044 </xs:restriction>
2045 </xs:simpleType>
2046 </xs:element>
2047 </xs:sequence>
2048 </xs:complexType>
2049 </xs:element>
2050 <xs:element name="Customer" msprop:Generator_TableClassName="CustomerDataTable" msprop:Generator_TableVarName="tableCustomer" msprop:Generator_RowChangedName="CustomerRowChanged" msprop:Generator_TablePropName="Customer" msprop:Generator_RowDeletingName="CustomerRowDeleting" msprop:Generator_RowChangingName="CustomerRowChanging" msprop:Generator_RowEvHandlerName="CustomerRowChangeEventHandler" msprop:Generator_RowDeletedName="CustomerRowDeleted" msprop:Generator_RowClassName="CustomerRow" msprop:Generator_UserTableName="Customer" msprop:Generator_RowEvArgName="CustomerRowChangeEvent">
2051 <xs:complexType>
2052 <xs:sequence>
2053 <xs:element name="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
2054 <xs:element name="CustomerID" msprop:Generator_ColumnVarNameInTable="columnCustomerID" msprop:Generator_ColumnPropNameInRow="CustomerID" msprop:Generator_ColumnPropNameInTable="CustomerIDColumn" msprop:Generator_UserColumnName="CustomerID" minOccurs="0">
2055 <xs:simpleType>
2056 <xs:restriction base="xs:string">
2057 <xs:maxLength value="30" />
2058 </xs:restriction>
2059 </xs:simpleType>
2060 </xs:element>
2061 <xs:element name="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" msprop:Generator_UserColumnName="Name" minOccurs="0">
2062 <xs:simpleType>
2063 <xs:restriction base="xs:string">
2064 <xs:maxLength value="200" />
2065 </xs:restriction>
2066 </xs:simpleType>
2067 </xs:element>
2068 <xs:element name="Gender" msprop:Generator_ColumnVarNameInTable="columnGender" msprop:Generator_ColumnPropNameInRow="Gender" msprop:Generator_ColumnPropNameInTable="GenderColumn" msprop:Generator_UserColumnName="Gender" minOccurs="0">
2069 <xs:simpleType>
2070 <xs:restriction base="xs:string">
2071 <xs:maxLength value="10" />
2072 </xs:restriction>
2073 </xs:simpleType>
2074 </xs:element>
2075 <xs:element name="Address" msprop:Generator_ColumnVarNameInTable="columnAddress" msprop:Generator_ColumnPropNameInRow="Address" msprop:Generator_ColumnPropNameInTable="AddressColumn" msprop:Generator_UserColumnName="Address" minOccurs="0">
2076 <xs:simpleType>
2077 <xs:restriction base="xs:string">
2078 <xs:maxLength value="250" />
2079 </xs:restriction>
2080 </xs:simpleType>
2081 </xs:element>
2082 <xs:element name="City" msprop:Generator_ColumnVarNameInTable="columnCity" msprop:Generator_ColumnPropNameInRow="City" msprop:Generator_ColumnPropNameInTable="CityColumn" msprop:Generator_UserColumnName="City" minOccurs="0">
2083 <xs:simpleType>
2084 <xs:restriction base="xs:string">
2085 <xs:maxLength value="200" />
2086 </xs:restriction>
2087 </xs:simpleType>
2088 </xs:element>
2089 <xs:element name="State" msprop:Generator_ColumnVarNameInTable="columnState" msprop:Generator_ColumnPropNameInRow="State" msprop:Generator_ColumnPropNameInTable="StateColumn" msprop:Generator_UserColumnName="State" minOccurs="0">
2090 <xs:simpleType>
2091 <xs:restriction base="xs:string">
2092 <xs:maxLength value="150" />
2093 </xs:restriction>
2094 </xs:simpleType>
2095 </xs:element>
2096 <xs:element name="ZipCode" msprop:Generator_ColumnVarNameInTable="columnZipCode" msprop:Generator_ColumnPropNameInRow="ZipCode" msprop:Generator_ColumnPropNameInTable="ZipCodeColumn" msprop:Generator_UserColumnName="ZipCode" minOccurs="0">
2097 <xs:simpleType>
2098 <xs:restriction base="xs:string">
2099 <xs:maxLength value="15" />
2100 </xs:restriction>
2101 </xs:simpleType>
2102 </xs:element>
2103 <xs:element name="ContactNo" msprop:Generator_ColumnVarNameInTable="columnContactNo" msprop:Generator_ColumnPropNameInRow="ContactNo" msprop:Generator_ColumnPropNameInTable="ContactNoColumn" msprop:Generator_UserColumnName="ContactNo" minOccurs="0">
2104 <xs:simpleType>
2105 <xs:restriction base="xs:string">
2106 <xs:maxLength value="150" />
2107 </xs:restriction>
2108 </xs:simpleType>
2109 </xs:element>
2110 <xs:element name="EmailID" msprop:Generator_ColumnVarNameInTable="columnEmailID" msprop:Generator_ColumnPropNameInRow="EmailID" msprop:Generator_ColumnPropNameInTable="EmailIDColumn" msprop:Generator_UserColumnName="EmailID" minOccurs="0">
2111 <xs:simpleType>
2112 <xs:restriction base="xs:string">
2113 <xs:maxLength value="200" />
2114 </xs:restriction>
2115 </xs:simpleType>
2116 </xs:element>
2117 <xs:element name="Remarks" msprop:Generator_ColumnVarNameInTable="columnRemarks" msprop:Generator_ColumnPropNameInRow="Remarks" msprop:Generator_ColumnPropNameInTable="RemarksColumn" msprop:Generator_UserColumnName="Remarks" minOccurs="0">
2118 <xs:simpleType>
2119 <xs:restriction base="xs:string">
2120 <xs:maxLength value="2147483647" />
2121 </xs:restriction>
2122 </xs:simpleType>
2123 </xs:element>
2124 <xs:element name="Photo" msprop:Generator_ColumnVarNameInTable="columnPhoto" msprop:Generator_ColumnPropNameInRow="Photo" msprop:Generator_ColumnPropNameInTable="PhotoColumn" msprop:Generator_UserColumnName="Photo" type="xs:base64Binary" minOccurs="0" />
2125 <xs:element name="CustomerType" msprop:Generator_ColumnVarNameInTable="columnCustomerType" msprop:Generator_ColumnPropNameInRow="CustomerType" msprop:Generator_ColumnPropNameInTable="CustomerTypeColumn" msprop:Generator_UserColumnName="CustomerType" minOccurs="0">
2126 <xs:simpleType>
2127 <xs:restriction base="xs:string">
2128 <xs:maxLength value="30" />
2129 </xs:restriction>
2130 </xs:simpleType>
2131 </xs:element>
2132 </xs:sequence>
2133 </xs:complexType>
2134 </xs:element>
2135 <xs:element name="Invoice_Payment" msprop:Generator_TableClassName="Invoice_PaymentDataTable" msprop:Generator_TableVarName="tableInvoice_Payment" msprop:Generator_RowChangedName="Invoice_PaymentRowChanged" msprop:Generator_TablePropName="Invoice_Payment" msprop:Generator_RowDeletingName="Invoice_PaymentRowDeleting" msprop:Generator_RowChangingName="Invoice_PaymentRowChanging" msprop:Generator_RowEvHandlerName="Invoice_PaymentRowChangeEventHandler" msprop:Generator_RowDeletedName="Invoice_PaymentRowDeleted" msprop:Generator_RowClassName="Invoice_PaymentRow" msprop:Generator_UserTableName="Invoice_Payment" msprop:Generator_RowEvArgName="Invoice_PaymentRowChangeEvent">
2136 <xs:complexType>
2137 <xs:sequence>
2138 <xs:element name="IP_ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnIP_ID" msprop:Generator_ColumnPropNameInRow="IP_ID" msprop:Generator_ColumnPropNameInTable="IP_IDColumn" msprop:Generator_UserColumnName="IP_ID" type="xs:int" />
2139 <xs:element name="InvoiceID" msprop:Generator_ColumnVarNameInTable="columnInvoiceID" msprop:Generator_ColumnPropNameInRow="InvoiceID" msprop:Generator_ColumnPropNameInTable="InvoiceIDColumn" msprop:Generator_UserColumnName="InvoiceID" type="xs:int" />
2140 <xs:element name="PaymentDate" msprop:Generator_ColumnVarNameInTable="columnPaymentDate" msprop:Generator_ColumnPropNameInRow="PaymentDate" msprop:Generator_ColumnPropNameInTable="PaymentDateColumn" msprop:Generator_UserColumnName="PaymentDate" type="xs:dateTime" />
2141 <xs:element name="TotalPaid" msprop:Generator_ColumnVarNameInTable="columnTotalPaid" msprop:Generator_ColumnPropNameInRow="TotalPaid" msprop:Generator_ColumnPropNameInTable="TotalPaidColumn" msprop:Generator_UserColumnName="TotalPaid" type="xs:decimal" />
2142 <xs:element name="PaymentMode" msprop:Generator_ColumnVarNameInTable="columnPaymentMode" msprop:Generator_ColumnPropNameInRow="PaymentMode" msprop:Generator_ColumnPropNameInTable="PaymentModeColumn" msprop:Generator_UserColumnName="PaymentMode">
2143 <xs:simpleType>
2144 <xs:restriction base="xs:string">
2145 <xs:maxLength value="150" />
2146 </xs:restriction>
2147 </xs:simpleType>
2148 </xs:element>
2149 </xs:sequence>
2150 </xs:complexType>
2151 </xs:element>
2152 <xs:element name="Invoice_Product" msprop:Generator_TableClassName="Invoice_ProductDataTable" msprop:Generator_TableVarName="tableInvoice_Product" msprop:Generator_RowChangedName="Invoice_ProductRowChanged" msprop:Generator_TablePropName="Invoice_Product" msprop:Generator_RowDeletingName="Invoice_ProductRowDeleting" msprop:Generator_RowChangingName="Invoice_ProductRowChanging" msprop:Generator_RowEvHandlerName="Invoice_ProductRowChangeEventHandler" msprop:Generator_RowDeletedName="Invoice_ProductRowDeleted" msprop:Generator_RowClassName="Invoice_ProductRow" msprop:Generator_UserTableName="Invoice_Product" msprop:Generator_RowEvArgName="Invoice_ProductRowChangeEvent">
2153 <xs:complexType>
2154 <xs:sequence>
2155 <xs:element name="IPo_ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnIPo_ID" msprop:Generator_ColumnPropNameInRow="IPo_ID" msprop:Generator_ColumnPropNameInTable="IPo_IDColumn" msprop:Generator_UserColumnName="IPo_ID" type="xs:int" />
2156 <xs:element name="InvoiceID" msprop:Generator_ColumnVarNameInTable="columnInvoiceID" msprop:Generator_ColumnPropNameInRow="InvoiceID" msprop:Generator_ColumnPropNameInTable="InvoiceIDColumn" msprop:Generator_UserColumnName="InvoiceID" type="xs:int" />
2157 <xs:element name="ProductID" msprop:Generator_ColumnVarNameInTable="columnProductID" msprop:Generator_ColumnPropNameInRow="ProductID" msprop:Generator_ColumnPropNameInTable="ProductIDColumn" msprop:Generator_UserColumnName="ProductID" type="xs:int" />
2158 <xs:element name="CostPrice" msprop:Generator_ColumnVarNameInTable="columnCostPrice" msprop:Generator_ColumnPropNameInRow="CostPrice" msprop:Generator_ColumnPropNameInTable="CostPriceColumn" msprop:Generator_UserColumnName="CostPrice" type="xs:decimal" />
2159 <xs:element name="SellingPrice" msprop:Generator_ColumnVarNameInTable="columnSellingPrice" msprop:Generator_ColumnPropNameInRow="SellingPrice" msprop:Generator_ColumnPropNameInTable="SellingPriceColumn" msprop:Generator_UserColumnName="SellingPrice" type="xs:decimal" />
2160 <xs:element name="Margin" msprop:Generator_ColumnVarNameInTable="columnMargin" msprop:Generator_ColumnPropNameInRow="Margin" msprop:Generator_ColumnPropNameInTable="MarginColumn" msprop:Generator_UserColumnName="Margin" type="xs:decimal" />
2161 <xs:element name="Qty" msprop:Generator_ColumnVarNameInTable="columnQty" msprop:Generator_ColumnPropNameInRow="Qty" msprop:Generator_ColumnPropNameInTable="QtyColumn" msprop:Generator_UserColumnName="Qty" type="xs:int" />
2162 <xs:element name="Amount" msprop:Generator_ColumnVarNameInTable="columnAmount" msprop:Generator_ColumnPropNameInRow="Amount" msprop:Generator_ColumnPropNameInTable="AmountColumn" msprop:Generator_UserColumnName="Amount" type="xs:decimal" />
2163 <xs:element name="DiscountPer" msprop:Generator_ColumnVarNameInTable="columnDiscountPer" msprop:Generator_ColumnPropNameInRow="DiscountPer" msprop:Generator_ColumnPropNameInTable="DiscountPerColumn" msprop:Generator_UserColumnName="DiscountPer" type="xs:decimal" />
2164 <xs:element name="Discount" msprop:Generator_ColumnVarNameInTable="columnDiscount" msprop:Generator_ColumnPropNameInRow="Discount" msprop:Generator_ColumnPropNameInTable="DiscountColumn" msprop:Generator_UserColumnName="Discount" type="xs:decimal" />
2165 <xs:element name="VATPer" msprop:Generator_ColumnVarNameInTable="columnVATPer" msprop:Generator_ColumnPropNameInRow="VATPer" msprop:Generator_ColumnPropNameInTable="VATPerColumn" msprop:Generator_UserColumnName="VATPer" type="xs:decimal" />
2166 <xs:element name="VAT" msprop:Generator_ColumnVarNameInTable="columnVAT" msprop:Generator_ColumnPropNameInRow="VAT" msprop:Generator_ColumnPropNameInTable="VATColumn" msprop:Generator_UserColumnName="VAT" type="xs:decimal" />
2167 <xs:element name="TotalAmount" msprop:Generator_ColumnVarNameInTable="columnTotalAmount" msprop:Generator_ColumnPropNameInRow="TotalAmount" msprop:Generator_ColumnPropNameInTable="TotalAmountColumn" msprop:Generator_UserColumnName="TotalAmount" type="xs:decimal" />
2168 </xs:sequence>
2169 </xs:complexType>
2170 </xs:element>
2171 <xs:element name="Invoice1_Payment" msprop:Generator_TableClassName="Invoice1_PaymentDataTable" msprop:Generator_TableVarName="tableInvoice1_Payment" msprop:Generator_RowChangedName="Invoice1_PaymentRowChanged" msprop:Generator_TablePropName="Invoice1_Payment" msprop:Generator_RowDeletingName="Invoice1_PaymentRowDeleting" msprop:Generator_RowChangingName="Invoice1_PaymentRowChanging" msprop:Generator_RowEvHandlerName="Invoice1_PaymentRowChangeEventHandler" msprop:Generator_RowDeletedName="Invoice1_PaymentRowDeleted" msprop:Generator_RowClassName="Invoice1_PaymentRow" msprop:Generator_UserTableName="Invoice1_Payment" msprop:Generator_RowEvArgName="Invoice1_PaymentRowChangeEvent">
2172 <xs:complexType>
2173 <xs:sequence>
2174 <xs:element name="IP_ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnIP_ID" msprop:Generator_ColumnPropNameInRow="IP_ID" msprop:Generator_ColumnPropNameInTable="IP_IDColumn" msprop:Generator_UserColumnName="IP_ID" type="xs:int" />
2175 <xs:element name="InvoiceID" msprop:Generator_ColumnVarNameInTable="columnInvoiceID" msprop:Generator_ColumnPropNameInRow="InvoiceID" msprop:Generator_ColumnPropNameInTable="InvoiceIDColumn" msprop:Generator_UserColumnName="InvoiceID" type="xs:int" />
2176 <xs:element name="PaymentDate" msprop:Generator_ColumnVarNameInTable="columnPaymentDate" msprop:Generator_ColumnPropNameInRow="PaymentDate" msprop:Generator_ColumnPropNameInTable="PaymentDateColumn" msprop:Generator_UserColumnName="PaymentDate" type="xs:dateTime" />
2177 <xs:element name="TotalPaid" msprop:Generator_ColumnVarNameInTable="columnTotalPaid" msprop:Generator_ColumnPropNameInRow="TotalPaid" msprop:Generator_ColumnPropNameInTable="TotalPaidColumn" msprop:Generator_UserColumnName="TotalPaid" type="xs:decimal" />
2178 <xs:element name="PaymentMode" msprop:Generator_ColumnVarNameInTable="columnPaymentMode" msprop:Generator_ColumnPropNameInRow="PaymentMode" msprop:Generator_ColumnPropNameInTable="PaymentModeColumn" msprop:Generator_UserColumnName="PaymentMode">
2179 <xs:simpleType>
2180 <xs:restriction base="xs:string">
2181 <xs:maxLength value="150" />
2182 </xs:restriction>
2183 </xs:simpleType>
2184 </xs:element>
2185 </xs:sequence>
2186 </xs:complexType>
2187 </xs:element>
2188 <xs:element name="Invoice1_Product" msprop:Generator_TableClassName="Invoice1_ProductDataTable" msprop:Generator_TableVarName="tableInvoice1_Product" msprop:Generator_RowChangedName="Invoice1_ProductRowChanged" msprop:Generator_TablePropName="Invoice1_Product" msprop:Generator_RowDeletingName="Invoice1_ProductRowDeleting" msprop:Generator_RowChangingName="Invoice1_ProductRowChanging" msprop:Generator_RowEvHandlerName="Invoice1_ProductRowChangeEventHandler" msprop:Generator_RowDeletedName="Invoice1_ProductRowDeleted" msprop:Generator_RowClassName="Invoice1_ProductRow" msprop:Generator_UserTableName="Invoice1_Product" msprop:Generator_RowEvArgName="Invoice1_ProductRowChangeEvent">
2189 <xs:complexType>
2190 <xs:sequence>
2191 <xs:element name="Ipo_ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnIpo_ID" msprop:Generator_ColumnPropNameInRow="Ipo_ID" msprop:Generator_ColumnPropNameInTable="Ipo_IDColumn" msprop:Generator_UserColumnName="Ipo_ID" type="xs:int" />
2192 <xs:element name="InvoiceID" msprop:Generator_ColumnVarNameInTable="columnInvoiceID" msprop:Generator_ColumnPropNameInRow="InvoiceID" msprop:Generator_ColumnPropNameInTable="InvoiceIDColumn" msprop:Generator_UserColumnName="InvoiceID" type="xs:int" />
2193 <xs:element name="ProductID" msprop:Generator_ColumnVarNameInTable="columnProductID" msprop:Generator_ColumnPropNameInRow="ProductID" msprop:Generator_ColumnPropNameInTable="ProductIDColumn" msprop:Generator_UserColumnName="ProductID" type="xs:int" />
2194 <xs:element name="CostPrice" msprop:Generator_ColumnVarNameInTable="columnCostPrice" msprop:Generator_ColumnPropNameInRow="CostPrice" msprop:Generator_ColumnPropNameInTable="CostPriceColumn" msprop:Generator_UserColumnName="CostPrice" type="xs:decimal" />
2195 <xs:element name="SellingPrice" msprop:Generator_ColumnVarNameInTable="columnSellingPrice" msprop:Generator_ColumnPropNameInRow="SellingPrice" msprop:Generator_ColumnPropNameInTable="SellingPriceColumn" msprop:Generator_UserColumnName="SellingPrice" type="xs:decimal" />
2196 <xs:element name="Margin" msprop:Generator_ColumnVarNameInTable="columnMargin" msprop:Generator_ColumnPropNameInRow="Margin" msprop:Generator_ColumnPropNameInTable="MarginColumn" msprop:Generator_UserColumnName="Margin" type="xs:decimal" />
2197 <xs:element name="Qty" msprop:Generator_ColumnVarNameInTable="columnQty" msprop:Generator_ColumnPropNameInRow="Qty" msprop:Generator_ColumnPropNameInTable="QtyColumn" msprop:Generator_UserColumnName="Qty" type="xs:int" />
2198 <xs:element name="Amount" msprop:Generator_ColumnVarNameInTable="columnAmount" msprop:Generator_ColumnPropNameInRow="Amount" msprop:Generator_ColumnPropNameInTable="AmountColumn" msprop:Generator_UserColumnName="Amount" type="xs:decimal" />
2199 <xs:element name="DiscountPer" msprop:Generator_ColumnVarNameInTable="columnDiscountPer" msprop:Generator_ColumnPropNameInRow="DiscountPer" msprop:Generator_ColumnPropNameInTable="DiscountPerColumn" msprop:Generator_UserColumnName="DiscountPer" type="xs:decimal" />
2200 <xs:element name="Discount" msprop:Generator_ColumnVarNameInTable="columnDiscount" msprop:Generator_ColumnPropNameInRow="Discount" msprop:Generator_ColumnPropNameInTable="DiscountColumn" msprop:Generator_UserColumnName="Discount" type="xs:decimal" />
2201 <xs:element name="VATPer" msprop:Generator_ColumnVarNameInTable="columnVATPer" msprop:Generator_ColumnPropNameInRow="VATPer" msprop:Generator_ColumnPropNameInTable="VATPerColumn" msprop:Generator_UserColumnName="VATPer" type="xs:decimal" />
2202 <xs:element name="VAT" msprop:Generator_ColumnVarNameInTable="columnVAT" msprop:Generator_ColumnPropNameInRow="VAT" msprop:Generator_ColumnPropNameInTable="VATColumn" msprop:Generator_UserColumnName="VAT" type="xs:decimal" />
2203 <xs:element name="TotalAmount" msprop:Generator_ColumnVarNameInTable="columnTotalAmount" msprop:Generator_ColumnPropNameInRow="TotalAmount" msprop:Generator_ColumnPropNameInTable="TotalAmountColumn" msprop:Generator_UserColumnName="TotalAmount" type="xs:decimal" />
2204 </xs:sequence>
2205 </xs:complexType>
2206 </xs:element>
2207 <xs:element name="InvoiceInfo" msprop:Generator_TableClassName="InvoiceInfoDataTable" msprop:Generator_TableVarName="tableInvoiceInfo" msprop:Generator_RowChangedName="InvoiceInfoRowChanged" msprop:Generator_TablePropName="InvoiceInfo" msprop:Generator_RowDeletingName="InvoiceInfoRowDeleting" msprop:Generator_RowChangingName="InvoiceInfoRowChanging" msprop:Generator_RowEvHandlerName="InvoiceInfoRowChangeEventHandler" msprop:Generator_RowDeletedName="InvoiceInfoRowDeleted" msprop:Generator_RowClassName="InvoiceInfoRow" msprop:Generator_UserTableName="InvoiceInfo" msprop:Generator_RowEvArgName="InvoiceInfoRowChangeEvent">
2208 <xs:complexType>
2209 <xs:sequence>
2210 <xs:element name="Inv_ID" msprop:Generator_ColumnVarNameInTable="columnInv_ID" msprop:Generator_ColumnPropNameInRow="Inv_ID" msprop:Generator_ColumnPropNameInTable="Inv_IDColumn" msprop:Generator_UserColumnName="Inv_ID" type="xs:int" />
2211 <xs:element name="InvoiceNo" msprop:Generator_ColumnVarNameInTable="columnInvoiceNo" msprop:Generator_ColumnPropNameInRow="InvoiceNo" msprop:Generator_ColumnPropNameInTable="InvoiceNoColumn" msprop:Generator_UserColumnName="InvoiceNo">
2212 <xs:simpleType>
2213 <xs:restriction base="xs:string">
2214 <xs:maxLength value="30" />
2215 </xs:restriction>
2216 </xs:simpleType>
2217 </xs:element>
2218 <xs:element name="InvoiceDate" msprop:Generator_ColumnVarNameInTable="columnInvoiceDate" msprop:Generator_ColumnPropNameInRow="InvoiceDate" msprop:Generator_ColumnPropNameInTable="InvoiceDateColumn" msprop:Generator_UserColumnName="InvoiceDate" type="xs:dateTime" />
2219 <xs:element name="CustomerID" msprop:Generator_ColumnVarNameInTable="columnCustomerID" msprop:Generator_ColumnPropNameInRow="CustomerID" msprop:Generator_ColumnPropNameInTable="CustomerIDColumn" msprop:Generator_UserColumnName="CustomerID" type="xs:int" />
2220 <xs:element name="GrandTotal" msprop:Generator_ColumnVarNameInTable="columnGrandTotal" msprop:Generator_ColumnPropNameInRow="GrandTotal" msprop:Generator_ColumnPropNameInTable="GrandTotalColumn" msprop:Generator_UserColumnName="GrandTotal" type="xs:decimal" />
2221 <xs:element name="TotalPaid" msprop:Generator_ColumnVarNameInTable="columnTotalPaid" msprop:Generator_ColumnPropNameInRow="TotalPaid" msprop:Generator_ColumnPropNameInTable="TotalPaidColumn" msprop:Generator_UserColumnName="TotalPaid" type="xs:decimal" />
2222 <xs:element name="Balance" msprop:Generator_ColumnVarNameInTable="columnBalance" msprop:Generator_ColumnPropNameInRow="Balance" msprop:Generator_ColumnPropNameInTable="BalanceColumn" msprop:Generator_UserColumnName="Balance" type="xs:decimal" />
2223 <xs:element name="Remarks" msprop:Generator_ColumnVarNameInTable="columnRemarks" msprop:Generator_ColumnPropNameInRow="Remarks" msprop:Generator_ColumnPropNameInTable="RemarksColumn" msprop:Generator_UserColumnName="Remarks" minOccurs="0">
2224 <xs:simpleType>
2225 <xs:restriction base="xs:string">
2226 <xs:maxLength value="2147483647" />
2227 </xs:restriction>
2228 </xs:simpleType>
2229 </xs:element>
2230 </xs:sequence>
2231 </xs:complexType>
2232 </xs:element>
2233 <xs:element name="InvoiceInfo1" msprop:Generator_TableClassName="InvoiceInfo1DataTable" msprop:Generator_TableVarName="tableInvoiceInfo1" msprop:Generator_RowChangedName="InvoiceInfo1RowChanged" msprop:Generator_TablePropName="InvoiceInfo1" msprop:Generator_RowDeletingName="InvoiceInfo1RowDeleting" msprop:Generator_RowChangingName="InvoiceInfo1RowChanging" msprop:Generator_RowEvHandlerName="InvoiceInfo1RowChangeEventHandler" msprop:Generator_RowDeletedName="InvoiceInfo1RowDeleted" msprop:Generator_RowClassName="InvoiceInfo1Row" msprop:Generator_UserTableName="InvoiceInfo1" msprop:Generator_RowEvArgName="InvoiceInfo1RowChangeEvent">
2234 <xs:complexType>
2235 <xs:sequence>
2236 <xs:element name="Inv_ID" msprop:Generator_ColumnVarNameInTable="columnInv_ID" msprop:Generator_ColumnPropNameInRow="Inv_ID" msprop:Generator_ColumnPropNameInTable="Inv_IDColumn" msprop:Generator_UserColumnName="Inv_ID" type="xs:int" />
2237 <xs:element name="InvoiceNo" msprop:Generator_ColumnVarNameInTable="columnInvoiceNo" msprop:Generator_ColumnPropNameInRow="InvoiceNo" msprop:Generator_ColumnPropNameInTable="InvoiceNoColumn" msprop:Generator_UserColumnName="InvoiceNo">
2238 <xs:simpleType>
2239 <xs:restriction base="xs:string">
2240 <xs:maxLength value="30" />
2241 </xs:restriction>
2242 </xs:simpleType>
2243 </xs:element>
2244 <xs:element name="InvoiceDate" msprop:Generator_ColumnVarNameInTable="columnInvoiceDate" msprop:Generator_ColumnPropNameInRow="InvoiceDate" msprop:Generator_ColumnPropNameInTable="InvoiceDateColumn" msprop:Generator_UserColumnName="InvoiceDate" type="xs:dateTime" />
2245 <xs:element name="ServiceID" msprop:Generator_ColumnVarNameInTable="columnServiceID" msprop:Generator_ColumnPropNameInRow="ServiceID" msprop:Generator_ColumnPropNameInTable="ServiceIDColumn" msprop:Generator_UserColumnName="ServiceID" type="xs:int" />
2246 <xs:element name="RepairCharges" msprop:Generator_ColumnVarNameInTable="columnRepairCharges" msprop:Generator_ColumnPropNameInRow="RepairCharges" msprop:Generator_ColumnPropNameInTable="RepairChargesColumn" msprop:Generator_UserColumnName="RepairCharges" type="xs:decimal" />
2247 <xs:element name="Upfront" msprop:Generator_ColumnVarNameInTable="columnUpfront" msprop:Generator_ColumnPropNameInRow="Upfront" msprop:Generator_ColumnPropNameInTable="UpfrontColumn" msprop:Generator_UserColumnName="Upfront" type="xs:decimal" />
2248 <xs:element name="ProductCharges" msprop:Generator_ColumnVarNameInTable="columnProductCharges" msprop:Generator_ColumnPropNameInRow="ProductCharges" msprop:Generator_ColumnPropNameInTable="ProductChargesColumn" msprop:Generator_UserColumnName="ProductCharges" type="xs:decimal" />
2249 <xs:element name="ServiceTaxPer" msprop:Generator_ColumnVarNameInTable="columnServiceTaxPer" msprop:Generator_ColumnPropNameInRow="ServiceTaxPer" msprop:Generator_ColumnPropNameInTable="ServiceTaxPerColumn" msprop:Generator_UserColumnName="ServiceTaxPer" type="xs:decimal" />
2250 <xs:element name="ServiceTax" msprop:Generator_ColumnVarNameInTable="columnServiceTax" msprop:Generator_ColumnPropNameInRow="ServiceTax" msprop:Generator_ColumnPropNameInTable="ServiceTaxColumn" msprop:Generator_UserColumnName="ServiceTax" type="xs:decimal" />
2251 <xs:element name="GrandTotal" msprop:Generator_ColumnVarNameInTable="columnGrandTotal" msprop:Generator_ColumnPropNameInRow="GrandTotal" msprop:Generator_ColumnPropNameInTable="GrandTotalColumn" msprop:Generator_UserColumnName="GrandTotal" type="xs:decimal" />
2252 <xs:element name="TotalPaid" msprop:Generator_ColumnVarNameInTable="columnTotalPaid" msprop:Generator_ColumnPropNameInRow="TotalPaid" msprop:Generator_ColumnPropNameInTable="TotalPaidColumn" msprop:Generator_UserColumnName="TotalPaid" type="xs:decimal" />
2253 <xs:element name="Balance" msprop:Generator_ColumnVarNameInTable="columnBalance" msprop:Generator_ColumnPropNameInRow="Balance" msprop:Generator_ColumnPropNameInTable="BalanceColumn" msprop:Generator_UserColumnName="Balance" type="xs:decimal" />
2254 <xs:element name="Remarks" msprop:Generator_ColumnVarNameInTable="columnRemarks" msprop:Generator_ColumnPropNameInRow="Remarks" msprop:Generator_ColumnPropNameInTable="RemarksColumn" msprop:Generator_UserColumnName="Remarks" minOccurs="0">
2255 <xs:simpleType>
2256 <xs:restriction base="xs:string">
2257 <xs:maxLength value="2147483647" />
2258 </xs:restriction>
2259 </xs:simpleType>
2260 </xs:element>
2261 </xs:sequence>
2262 </xs:complexType>
2263 </xs:element>
2264 <xs:element name="Logs" msprop:Generator_TableClassName="LogsDataTable" msprop:Generator_TableVarName="tableLogs" msprop:Generator_RowChangedName="LogsRowChanged" msprop:Generator_TablePropName="Logs" msprop:Generator_RowDeletingName="LogsRowDeleting" msprop:Generator_RowChangingName="LogsRowChanging" msprop:Generator_RowEvHandlerName="LogsRowChangeEventHandler" msprop:Generator_RowDeletedName="LogsRowDeleted" msprop:Generator_RowClassName="LogsRow" msprop:Generator_UserTableName="Logs" msprop:Generator_RowEvArgName="LogsRowChangeEvent">
2265 <xs:complexType>
2266 <xs:sequence>
2267 <xs:element name="ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
2268 <xs:element name="UserID" msprop:Generator_ColumnVarNameInTable="columnUserID" msprop:Generator_ColumnPropNameInRow="UserID" msprop:Generator_ColumnPropNameInTable="UserIDColumn" msprop:Generator_UserColumnName="UserID">
2269 <xs:simpleType>
2270 <xs:restriction base="xs:string">
2271 <xs:maxLength value="100" />
2272 </xs:restriction>
2273 </xs:simpleType>
2274 </xs:element>
2275 <xs:element name="Operation" msprop:Generator_ColumnVarNameInTable="columnOperation" msprop:Generator_ColumnPropNameInRow="Operation" msprop:Generator_ColumnPropNameInTable="OperationColumn" msprop:Generator_UserColumnName="Operation">
2276 <xs:simpleType>
2277 <xs:restriction base="xs:string">
2278 <xs:maxLength value="2147483647" />
2279 </xs:restriction>
2280 </xs:simpleType>
2281 </xs:element>
2282 <xs:element name="Date" msprop:Generator_ColumnVarNameInTable="columnDate" msprop:Generator_ColumnPropNameInRow="_Date" msprop:Generator_ColumnPropNameInTable="DateColumn" msprop:Generator_UserColumnName="Date" type="xs:dateTime" />
2283 </xs:sequence>
2284 </xs:complexType>
2285 </xs:element>
2286 <xs:element name="Product" msprop:Generator_TableClassName="ProductDataTable" msprop:Generator_TableVarName="tableProduct" msprop:Generator_RowChangedName="ProductRowChanged" msprop:Generator_TablePropName="Product" msprop:Generator_RowDeletingName="ProductRowDeleting" msprop:Generator_RowChangingName="ProductRowChanging" msprop:Generator_RowEvHandlerName="ProductRowChangeEventHandler" msprop:Generator_RowDeletedName="ProductRowDeleted" msprop:Generator_RowClassName="ProductRow" msprop:Generator_UserTableName="Product" msprop:Generator_RowEvArgName="ProductRowChangeEvent">
2287 <xs:complexType>
2288 <xs:sequence>
2289 <xs:element name="PID" msprop:Generator_ColumnVarNameInTable="columnPID" msprop:Generator_ColumnPropNameInRow="PID" msprop:Generator_ColumnPropNameInTable="PIDColumn" msprop:Generator_UserColumnName="PID" type="xs:int" />
2290 <xs:element name="ProductCode" msprop:Generator_ColumnVarNameInTable="columnProductCode" msprop:Generator_ColumnPropNameInRow="ProductCode" msprop:Generator_ColumnPropNameInTable="ProductCodeColumn" msprop:Generator_UserColumnName="ProductCode">
2291 <xs:simpleType>
2292 <xs:restriction base="xs:string">
2293 <xs:maxLength value="30" />
2294 </xs:restriction>
2295 </xs:simpleType>
2296 </xs:element>
2297 <xs:element name="ProductName" msprop:Generator_ColumnVarNameInTable="columnProductName" msprop:Generator_ColumnPropNameInRow="ProductName" msprop:Generator_ColumnPropNameInTable="ProductNameColumn" msprop:Generator_UserColumnName="ProductName">
2298 <xs:simpleType>
2299 <xs:restriction base="xs:string">
2300 <xs:maxLength value="200" />
2301 </xs:restriction>
2302 </xs:simpleType>
2303 </xs:element>
2304 <xs:element name="SubCategoryID" msprop:Generator_ColumnVarNameInTable="columnSubCategoryID" msprop:Generator_ColumnPropNameInRow="SubCategoryID" msprop:Generator_ColumnPropNameInTable="SubCategoryIDColumn" msprop:Generator_UserColumnName="SubCategoryID" type="xs:int" />
2305 <xs:element name="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" msprop:Generator_UserColumnName="Description" minOccurs="0">
2306 <xs:simpleType>
2307 <xs:restriction base="xs:string">
2308 <xs:maxLength value="2147483647" />
2309 </xs:restriction>
2310 </xs:simpleType>
2311 </xs:element>
2312 <xs:element name="CostPrice" msprop:Generator_ColumnVarNameInTable="columnCostPrice" msprop:Generator_ColumnPropNameInRow="CostPrice" msprop:Generator_ColumnPropNameInTable="CostPriceColumn" msprop:Generator_UserColumnName="CostPrice" type="xs:decimal" />
2313 <xs:element name="SellingPrice" msprop:Generator_ColumnVarNameInTable="columnSellingPrice" msprop:Generator_ColumnPropNameInRow="SellingPrice" msprop:Generator_ColumnPropNameInTable="SellingPriceColumn" msprop:Generator_UserColumnName="SellingPrice" type="xs:decimal" />
2314 <xs:element name="Discount" msprop:Generator_ColumnVarNameInTable="columnDiscount" msprop:Generator_ColumnPropNameInRow="Discount" msprop:Generator_ColumnPropNameInTable="DiscountColumn" msprop:Generator_UserColumnName="Discount" type="xs:decimal" />
2315 <xs:element name="VAT" msprop:Generator_ColumnVarNameInTable="columnVAT" msprop:Generator_ColumnPropNameInRow="VAT" msprop:Generator_ColumnPropNameInTable="VATColumn" msprop:Generator_UserColumnName="VAT" type="xs:decimal" />
2316 <xs:element name="ReorderPoint" msprop:Generator_ColumnVarNameInTable="columnReorderPoint" msprop:Generator_ColumnPropNameInRow="ReorderPoint" msprop:Generator_ColumnPropNameInTable="ReorderPointColumn" msprop:Generator_UserColumnName="ReorderPoint" type="xs:int" />
2317 </xs:sequence>
2318 </xs:complexType>
2319 </xs:element>
2320 <xs:element name="Product_Join" msprop:Generator_TableClassName="Product_JoinDataTable" msprop:Generator_TableVarName="tableProduct_Join" msprop:Generator_RowChangedName="Product_JoinRowChanged" msprop:Generator_TablePropName="Product_Join" msprop:Generator_RowDeletingName="Product_JoinRowDeleting" msprop:Generator_RowChangingName="Product_JoinRowChanging" msprop:Generator_RowEvHandlerName="Product_JoinRowChangeEventHandler" msprop:Generator_RowDeletedName="Product_JoinRowDeleted" msprop:Generator_RowClassName="Product_JoinRow" msprop:Generator_UserTableName="Product_Join" msprop:Generator_RowEvArgName="Product_JoinRowChangeEvent">
2321 <xs:complexType>
2322 <xs:sequence>
2323 <xs:element name="Id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnPropNameInTable="IdColumn" msprop:Generator_UserColumnName="Id" type="xs:int" />
2324 <xs:element name="ProductID" msprop:Generator_ColumnVarNameInTable="columnProductID" msprop:Generator_ColumnPropNameInRow="ProductID" msprop:Generator_ColumnPropNameInTable="ProductIDColumn" msprop:Generator_UserColumnName="ProductID" type="xs:int" />
2325 <xs:element name="Photo" msprop:Generator_ColumnVarNameInTable="columnPhoto" msprop:Generator_ColumnPropNameInRow="Photo" msprop:Generator_ColumnPropNameInTable="PhotoColumn" msprop:Generator_UserColumnName="Photo" type="xs:base64Binary" />
2326 </xs:sequence>
2327 </xs:complexType>
2328 </xs:element>
2329 <xs:element name="Quotation" msprop:Generator_TableClassName="QuotationDataTable" msprop:Generator_TableVarName="tableQuotation" msprop:Generator_RowChangedName="QuotationRowChanged" msprop:Generator_TablePropName="Quotation" msprop:Generator_RowDeletingName="QuotationRowDeleting" msprop:Generator_RowChangingName="QuotationRowChanging" msprop:Generator_RowEvHandlerName="QuotationRowChangeEventHandler" msprop:Generator_RowDeletedName="QuotationRowDeleted" msprop:Generator_RowClassName="QuotationRow" msprop:Generator_UserTableName="Quotation" msprop:Generator_RowEvArgName="QuotationRowChangeEvent">
2330 <xs:complexType>
2331 <xs:sequence>
2332 <xs:element name="Q_ID" msprop:Generator_ColumnVarNameInTable="columnQ_ID" msprop:Generator_ColumnPropNameInRow="Q_ID" msprop:Generator_ColumnPropNameInTable="Q_IDColumn" msprop:Generator_UserColumnName="Q_ID" type="xs:int" />
2333 <xs:element name="QuotationNo" msprop:Generator_ColumnVarNameInTable="columnQuotationNo" msprop:Generator_ColumnPropNameInRow="QuotationNo" msprop:Generator_ColumnPropNameInTable="QuotationNoColumn" msprop:Generator_UserColumnName="QuotationNo">
2334 <xs:simpleType>
2335 <xs:restriction base="xs:string">
2336 <xs:maxLength value="30" />
2337 </xs:restriction>
2338 </xs:simpleType>
2339 </xs:element>
2340 <xs:element name="Date" msprop:Generator_ColumnVarNameInTable="columnDate" msprop:Generator_ColumnPropNameInRow="_Date" msprop:Generator_ColumnPropNameInTable="DateColumn" msprop:Generator_UserColumnName="Date" type="xs:dateTime" />
2341 <xs:element name="CustomerID" msprop:Generator_ColumnVarNameInTable="columnCustomerID" msprop:Generator_ColumnPropNameInRow="CustomerID" msprop:Generator_ColumnPropNameInTable="CustomerIDColumn" msprop:Generator_UserColumnName="CustomerID" type="xs:int" />
2342 <xs:element name="GrandTotal" msprop:Generator_ColumnVarNameInTable="columnGrandTotal" msprop:Generator_ColumnPropNameInRow="GrandTotal" msprop:Generator_ColumnPropNameInTable="GrandTotalColumn" msprop:Generator_UserColumnName="GrandTotal" type="xs:decimal" />
2343 <xs:element name="Remarks" msprop:Generator_ColumnVarNameInTable="columnRemarks" msprop:Generator_ColumnPropNameInRow="Remarks" msprop:Generator_ColumnPropNameInTable="RemarksColumn" msprop:Generator_UserColumnName="Remarks" minOccurs="0">
2344 <xs:simpleType>
2345 <xs:restriction base="xs:string">
2346 <xs:maxLength value="2147483647" />
2347 </xs:restriction>
2348 </xs:simpleType>
2349 </xs:element>
2350 </xs:sequence>
2351 </xs:complexType>
2352 </xs:element>
2353 <xs:element name="Quotation_Join" msprop:Generator_TableClassName="Quotation_JoinDataTable" msprop:Generator_TableVarName="tableQuotation_Join" msprop:Generator_RowChangedName="Quotation_JoinRowChanged" msprop:Generator_TablePropName="Quotation_Join" msprop:Generator_RowDeletingName="Quotation_JoinRowDeleting" msprop:Generator_RowChangingName="Quotation_JoinRowChanging" msprop:Generator_RowEvHandlerName="Quotation_JoinRowChangeEventHandler" msprop:Generator_RowDeletedName="Quotation_JoinRowDeleted" msprop:Generator_RowClassName="Quotation_JoinRow" msprop:Generator_UserTableName="Quotation_Join" msprop:Generator_RowEvArgName="Quotation_JoinRowChangeEvent">
2354 <xs:complexType>
2355 <xs:sequence>
2356 <xs:element name="QJ_ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnQJ_ID" msprop:Generator_ColumnPropNameInRow="QJ_ID" msprop:Generator_ColumnPropNameInTable="QJ_IDColumn" msprop:Generator_UserColumnName="QJ_ID" type="xs:int" />
2357 <xs:element name="QuotationID" msprop:Generator_ColumnVarNameInTable="columnQuotationID" msprop:Generator_ColumnPropNameInRow="QuotationID" msprop:Generator_ColumnPropNameInTable="QuotationIDColumn" msprop:Generator_UserColumnName="QuotationID" type="xs:int" />
2358 <xs:element name="ProductID" msprop:Generator_ColumnVarNameInTable="columnProductID" msprop:Generator_ColumnPropNameInRow="ProductID" msprop:Generator_ColumnPropNameInTable="ProductIDColumn" msprop:Generator_UserColumnName="ProductID" type="xs:int" />
2359 <xs:element name="Cost" msprop:Generator_ColumnVarNameInTable="columnCost" msprop:Generator_ColumnPropNameInRow="Cost" msprop:Generator_ColumnPropNameInTable="CostColumn" msprop:Generator_UserColumnName="Cost" type="xs:decimal" />
2360 <xs:element name="Qty" msprop:Generator_ColumnVarNameInTable="columnQty" msprop:Generator_ColumnPropNameInRow="Qty" msprop:Generator_ColumnPropNameInTable="QtyColumn" msprop:Generator_UserColumnName="Qty" type="xs:int" />
2361 <xs:element name="Amount" msprop:Generator_ColumnVarNameInTable="columnAmount" msprop:Generator_ColumnPropNameInRow="Amount" msprop:Generator_ColumnPropNameInTable="AmountColumn" msprop:Generator_UserColumnName="Amount" type="xs:decimal" />
2362 <xs:element name="DiscountPer" msprop:Generator_ColumnVarNameInTable="columnDiscountPer" msprop:Generator_ColumnPropNameInRow="DiscountPer" msprop:Generator_ColumnPropNameInTable="DiscountPerColumn" msprop:Generator_UserColumnName="DiscountPer" type="xs:decimal" />
2363 <xs:element name="Discount" msprop:Generator_ColumnVarNameInTable="columnDiscount" msprop:Generator_ColumnPropNameInRow="Discount" msprop:Generator_ColumnPropNameInTable="DiscountColumn" msprop:Generator_UserColumnName="Discount" type="xs:decimal" />
2364 <xs:element name="VATPer" msprop:Generator_ColumnVarNameInTable="columnVATPer" msprop:Generator_ColumnPropNameInRow="VATPer" msprop:Generator_ColumnPropNameInTable="VATPerColumn" msprop:Generator_UserColumnName="VATPer" type="xs:decimal" />
2365 <xs:element name="VAT" msprop:Generator_ColumnVarNameInTable="columnVAT" msprop:Generator_ColumnPropNameInRow="VAT" msprop:Generator_ColumnPropNameInTable="VATColumn" msprop:Generator_UserColumnName="VAT" type="xs:decimal" />
2366 <xs:element name="TotalAmount" msprop:Generator_ColumnVarNameInTable="columnTotalAmount" msprop:Generator_ColumnPropNameInRow="TotalAmount" msprop:Generator_ColumnPropNameInTable="TotalAmountColumn" msprop:Generator_UserColumnName="TotalAmount" type="xs:decimal" />
2367 </xs:sequence>
2368 </xs:complexType>
2369 </xs:element>
2370 <xs:element name="Registration" msprop:Generator_TableClassName="RegistrationDataTable" msprop:Generator_TableVarName="tableRegistration" msprop:Generator_RowChangedName="RegistrationRowChanged" msprop:Generator_TablePropName="Registration" msprop:Generator_RowDeletingName="RegistrationRowDeleting" msprop:Generator_RowChangingName="RegistrationRowChanging" msprop:Generator_RowEvHandlerName="RegistrationRowChangeEventHandler" msprop:Generator_RowDeletedName="RegistrationRowDeleted" msprop:Generator_RowClassName="RegistrationRow" msprop:Generator_UserTableName="Registration" msprop:Generator_RowEvArgName="RegistrationRowChangeEvent">
2371 <xs:complexType>
2372 <xs:sequence>
2373 <xs:element name="UserID" msprop:Generator_ColumnVarNameInTable="columnUserID" msprop:Generator_ColumnPropNameInRow="UserID" msprop:Generator_ColumnPropNameInTable="UserIDColumn" msprop:Generator_UserColumnName="UserID">
2374 <xs:simpleType>
2375 <xs:restriction base="xs:string">
2376 <xs:maxLength value="100" />
2377 </xs:restriction>
2378 </xs:simpleType>
2379 </xs:element>
2380 <xs:element name="UserType" msprop:Generator_ColumnVarNameInTable="columnUserType" msprop:Generator_ColumnPropNameInRow="UserType" msprop:Generator_ColumnPropNameInTable="UserTypeColumn" msprop:Generator_UserColumnName="UserType">
2381 <xs:simpleType>
2382 <xs:restriction base="xs:string">
2383 <xs:maxLength value="150" />
2384 </xs:restriction>
2385 </xs:simpleType>
2386 </xs:element>
2387 <xs:element name="Password" msprop:Generator_ColumnVarNameInTable="columnPassword" msprop:Generator_ColumnPropNameInRow="Password" msprop:Generator_ColumnPropNameInTable="PasswordColumn" msprop:Generator_UserColumnName="Password">
2388 <xs:simpleType>
2389 <xs:restriction base="xs:string">
2390 <xs:maxLength value="100" />
2391 </xs:restriction>
2392 </xs:simpleType>
2393 </xs:element>
2394 <xs:element name="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" msprop:Generator_UserColumnName="Name">
2395 <xs:simpleType>
2396 <xs:restriction base="xs:string">
2397 <xs:maxLength value="200" />
2398 </xs:restriction>
2399 </xs:simpleType>
2400 </xs:element>
2401 <xs:element name="ContactNo" msprop:Generator_ColumnVarNameInTable="columnContactNo" msprop:Generator_ColumnPropNameInRow="ContactNo" msprop:Generator_ColumnPropNameInTable="ContactNoColumn" msprop:Generator_UserColumnName="ContactNo">
2402 <xs:simpleType>
2403 <xs:restriction base="xs:string">
2404 <xs:maxLength value="150" />
2405 </xs:restriction>
2406 </xs:simpleType>
2407 </xs:element>
2408 <xs:element name="EmailID" msprop:Generator_ColumnVarNameInTable="columnEmailID" msprop:Generator_ColumnPropNameInRow="EmailID" msprop:Generator_ColumnPropNameInTable="EmailIDColumn" msprop:Generator_UserColumnName="EmailID" minOccurs="0">
2409 <xs:simpleType>
2410 <xs:restriction base="xs:string">
2411 <xs:maxLength value="200" />
2412 </xs:restriction>
2413 </xs:simpleType>
2414 </xs:element>
2415 <xs:element name="JoiningDate" msprop:Generator_ColumnVarNameInTable="columnJoiningDate" msprop:Generator_ColumnPropNameInRow="JoiningDate" msprop:Generator_ColumnPropNameInTable="JoiningDateColumn" msprop:Generator_UserColumnName="JoiningDate" type="xs:dateTime" minOccurs="0" />
2416 </xs:sequence>
2417 </xs:complexType>
2418 </xs:element>
2419 <xs:element name="Service" msprop:Generator_TableClassName="ServiceDataTable" msprop:Generator_TableVarName="tableService" msprop:Generator_RowChangedName="ServiceRowChanged" msprop:Generator_TablePropName="Service" msprop:Generator_RowDeletingName="ServiceRowDeleting" msprop:Generator_RowChangingName="ServiceRowChanging" msprop:Generator_RowEvHandlerName="ServiceRowChangeEventHandler" msprop:Generator_RowDeletedName="ServiceRowDeleted" msprop:Generator_RowClassName="ServiceRow" msprop:Generator_UserTableName="Service" msprop:Generator_RowEvArgName="ServiceRowChangeEvent">
2420 <xs:complexType>
2421 <xs:sequence>
2422 <xs:element name="S_ID" msprop:Generator_ColumnVarNameInTable="columnS_ID" msprop:Generator_ColumnPropNameInRow="S_ID" msprop:Generator_ColumnPropNameInTable="S_IDColumn" msprop:Generator_UserColumnName="S_ID" type="xs:int" />
2423 <xs:element name="ServiceCode" msprop:Generator_ColumnVarNameInTable="columnServiceCode" msprop:Generator_ColumnPropNameInRow="ServiceCode" msprop:Generator_ColumnPropNameInTable="ServiceCodeColumn" msprop:Generator_UserColumnName="ServiceCode">
2424 <xs:simpleType>
2425 <xs:restriction base="xs:string">
2426 <xs:maxLength value="30" />
2427 </xs:restriction>
2428 </xs:simpleType>
2429 </xs:element>
2430 <xs:element name="CustomerID" msprop:Generator_ColumnVarNameInTable="columnCustomerID" msprop:Generator_ColumnPropNameInRow="CustomerID" msprop:Generator_ColumnPropNameInTable="CustomerIDColumn" msprop:Generator_UserColumnName="CustomerID" type="xs:int" />
2431 <xs:element name="ServiceType" msprop:Generator_ColumnVarNameInTable="columnServiceType" msprop:Generator_ColumnPropNameInRow="ServiceType" msprop:Generator_ColumnPropNameInTable="ServiceTypeColumn" msprop:Generator_UserColumnName="ServiceType" minOccurs="0">
2432 <xs:simpleType>
2433 <xs:restriction base="xs:string">
2434 <xs:maxLength value="150" />
2435 </xs:restriction>
2436 </xs:simpleType>
2437 </xs:element>
2438 <xs:element name="ServiceCreationDate" msprop:Generator_ColumnVarNameInTable="columnServiceCreationDate" msprop:Generator_ColumnPropNameInRow="ServiceCreationDate" msprop:Generator_ColumnPropNameInTable="ServiceCreationDateColumn" msprop:Generator_UserColumnName="ServiceCreationDate" type="xs:dateTime" />
2439 <xs:element name="ItemDescription" msprop:Generator_ColumnVarNameInTable="columnItemDescription" msprop:Generator_ColumnPropNameInRow="ItemDescription" msprop:Generator_ColumnPropNameInTable="ItemDescriptionColumn" msprop:Generator_UserColumnName="ItemDescription">
2440 <xs:simpleType>
2441 <xs:restriction base="xs:string">
2442 <xs:maxLength value="2147483647" />
2443 </xs:restriction>
2444 </xs:simpleType>
2445 </xs:element>
2446 <xs:element name="ProblemDescription" msprop:Generator_ColumnVarNameInTable="columnProblemDescription" msprop:Generator_ColumnPropNameInRow="ProblemDescription" msprop:Generator_ColumnPropNameInTable="ProblemDescriptionColumn" msprop:Generator_UserColumnName="ProblemDescription" minOccurs="0">
2447 <xs:simpleType>
2448 <xs:restriction base="xs:string">
2449 <xs:maxLength value="2147483647" />
2450 </xs:restriction>
2451 </xs:simpleType>
2452 </xs:element>
2453 <xs:element name="ChargesQuote" msprop:Generator_ColumnVarNameInTable="columnChargesQuote" msprop:Generator_ColumnPropNameInRow="ChargesQuote" msprop:Generator_ColumnPropNameInTable="ChargesQuoteColumn" msprop:Generator_UserColumnName="ChargesQuote" type="xs:decimal" />
2454 <xs:element name="AdvanceDeposit" msprop:Generator_ColumnVarNameInTable="columnAdvanceDeposit" msprop:Generator_ColumnPropNameInRow="AdvanceDeposit" msprop:Generator_ColumnPropNameInTable="AdvanceDepositColumn" msprop:Generator_UserColumnName="AdvanceDeposit" type="xs:decimal" />
2455 <xs:element name="EstimatedRepairDate" msprop:Generator_ColumnVarNameInTable="columnEstimatedRepairDate" msprop:Generator_ColumnPropNameInRow="EstimatedRepairDate" msprop:Generator_ColumnPropNameInTable="EstimatedRepairDateColumn" msprop:Generator_UserColumnName="EstimatedRepairDate" type="xs:dateTime" />
2456 <xs:element name="Remarks" msprop:Generator_ColumnVarNameInTable="columnRemarks" msprop:Generator_ColumnPropNameInRow="Remarks" msprop:Generator_ColumnPropNameInTable="RemarksColumn" msprop:Generator_UserColumnName="Remarks" minOccurs="0">
2457 <xs:simpleType>
2458 <xs:restriction base="xs:string">
2459 <xs:maxLength value="2147483647" />
2460 </xs:restriction>
2461 </xs:simpleType>
2462 </xs:element>
2463 <xs:element name="Status" msprop:Generator_ColumnVarNameInTable="columnStatus" msprop:Generator_ColumnPropNameInRow="Status" msprop:Generator_ColumnPropNameInTable="StatusColumn" msprop:Generator_UserColumnName="Status">
2464 <xs:simpleType>
2465 <xs:restriction base="xs:string">
2466 <xs:maxLength value="30" />
2467 </xs:restriction>
2468 </xs:simpleType>
2469 </xs:element>
2470 </xs:sequence>
2471 </xs:complexType>
2472 </xs:element>
2473 <xs:element name="SMSSetting" msprop:Generator_TableClassName="SMSSettingDataTable" msprop:Generator_TableVarName="tableSMSSetting" msprop:Generator_RowChangedName="SMSSettingRowChanged" msprop:Generator_TablePropName="SMSSetting" msprop:Generator_RowDeletingName="SMSSettingRowDeleting" msprop:Generator_RowChangingName="SMSSettingRowChanging" msprop:Generator_RowEvHandlerName="SMSSettingRowChangeEventHandler" msprop:Generator_RowDeletedName="SMSSettingRowDeleted" msprop:Generator_RowClassName="SMSSettingRow" msprop:Generator_UserTableName="SMSSetting" msprop:Generator_RowEvArgName="SMSSettingRowChangeEvent">
2474 <xs:complexType>
2475 <xs:sequence>
2476 <xs:element name="Id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnPropNameInTable="IdColumn" msprop:Generator_UserColumnName="Id" type="xs:int" />
2477 <xs:element name="APIUrl" msprop:Generator_ColumnVarNameInTable="columnAPIUrl" msprop:Generator_ColumnPropNameInRow="APIUrl" msprop:Generator_ColumnPropNameInTable="APIUrlColumn" msprop:Generator_UserColumnName="APIUrl">
2478 <xs:simpleType>
2479 <xs:restriction base="xs:string">
2480 <xs:maxLength value="2147483647" />
2481 </xs:restriction>
2482 </xs:simpleType>
2483 </xs:element>
2484 <xs:element name="IsDefault" msprop:Generator_ColumnVarNameInTable="columnIsDefault" msprop:Generator_ColumnPropNameInRow="IsDefault" msprop:Generator_ColumnPropNameInTable="IsDefaultColumn" msprop:Generator_UserColumnName="IsDefault">
2485 <xs:simpleType>
2486 <xs:restriction base="xs:string">
2487 <xs:maxLength value="10" />
2488 </xs:restriction>
2489 </xs:simpleType>
2490 </xs:element>
2491 <xs:element name="IsEnabled" msprop:Generator_ColumnVarNameInTable="columnIsEnabled" msprop:Generator_ColumnPropNameInRow="IsEnabled" msprop:Generator_ColumnPropNameInTable="IsEnabledColumn" msprop:Generator_UserColumnName="IsEnabled">
2492 <xs:simpleType>
2493 <xs:restriction base="xs:string">
2494 <xs:maxLength value="10" />
2495 </xs:restriction>
2496 </xs:simpleType>
2497 </xs:element>
2498 </xs:sequence>
2499 </xs:complexType>
2500 </xs:element>
2501 <xs:element name="Stock" msprop:Generator_TableClassName="StockDataTable" msprop:Generator_TableVarName="tableStock" msprop:Generator_RowChangedName="StockRowChanged" msprop:Generator_TablePropName="Stock" msprop:Generator_RowDeletingName="StockRowDeleting" msprop:Generator_RowChangingName="StockRowChanging" msprop:Generator_RowEvHandlerName="StockRowChangeEventHandler" msprop:Generator_RowDeletedName="StockRowDeleted" msprop:Generator_RowClassName="StockRow" msprop:Generator_UserTableName="Stock" msprop:Generator_RowEvArgName="StockRowChangeEvent">
2502 <xs:complexType>
2503 <xs:sequence>
2504 <xs:element name="ST_ID" msprop:Generator_ColumnVarNameInTable="columnST_ID" msprop:Generator_ColumnPropNameInRow="ST_ID" msprop:Generator_ColumnPropNameInTable="ST_IDColumn" msprop:Generator_UserColumnName="ST_ID" type="xs:int" />
2505 <xs:element name="Stock_ID" msprop:Generator_ColumnVarNameInTable="columnStock_ID" msprop:Generator_ColumnPropNameInRow="Stock_ID" msprop:Generator_ColumnPropNameInTable="Stock_IDColumn" msprop:Generator_UserColumnName="Stock_ID">
2506 <xs:simpleType>
2507 <xs:restriction base="xs:string">
2508 <xs:maxLength value="30" />
2509 </xs:restriction>
2510 </xs:simpleType>
2511 </xs:element>
2512 <xs:element name="Date" msprop:Generator_ColumnVarNameInTable="columnDate" msprop:Generator_ColumnPropNameInRow="_Date" msprop:Generator_ColumnPropNameInTable="DateColumn" msprop:Generator_UserColumnName="Date" type="xs:dateTime" />
2513 <xs:element name="SupplierID" msprop:Generator_ColumnVarNameInTable="columnSupplierID" msprop:Generator_ColumnPropNameInRow="SupplierID" msprop:Generator_ColumnPropNameInTable="SupplierIDColumn" msprop:Generator_UserColumnName="SupplierID" type="xs:int" />
2514 <xs:element name="GrandTotal" msprop:Generator_ColumnVarNameInTable="columnGrandTotal" msprop:Generator_ColumnPropNameInRow="GrandTotal" msprop:Generator_ColumnPropNameInTable="GrandTotalColumn" msprop:Generator_UserColumnName="GrandTotal" type="xs:decimal" />
2515 <xs:element name="TotalPayment" msprop:Generator_ColumnVarNameInTable="columnTotalPayment" msprop:Generator_ColumnPropNameInRow="TotalPayment" msprop:Generator_ColumnPropNameInTable="TotalPaymentColumn" msprop:Generator_UserColumnName="TotalPayment" type="xs:decimal" />
2516 <xs:element name="PaymentDue" msprop:Generator_ColumnVarNameInTable="columnPaymentDue" msprop:Generator_ColumnPropNameInRow="PaymentDue" msprop:Generator_ColumnPropNameInTable="PaymentDueColumn" msprop:Generator_UserColumnName="PaymentDue" type="xs:decimal" />
2517 <xs:element name="Remarks" msprop:Generator_ColumnVarNameInTable="columnRemarks" msprop:Generator_ColumnPropNameInRow="Remarks" msprop:Generator_ColumnPropNameInTable="RemarksColumn" msprop:Generator_UserColumnName="Remarks" minOccurs="0">
2518 <xs:simpleType>
2519 <xs:restriction base="xs:string">
2520 <xs:maxLength value="2147483647" />
2521 </xs:restriction>
2522 </xs:simpleType>
2523 </xs:element>
2524 </xs:sequence>
2525 </xs:complexType>
2526 </xs:element>
2527 <xs:element name="Stock_Product" msprop:Generator_TableClassName="Stock_ProductDataTable" msprop:Generator_TableVarName="tableStock_Product" msprop:Generator_RowChangedName="Stock_ProductRowChanged" msprop:Generator_TablePropName="Stock_Product" msprop:Generator_RowDeletingName="Stock_ProductRowDeleting" msprop:Generator_RowChangingName="Stock_ProductRowChanging" msprop:Generator_RowEvHandlerName="Stock_ProductRowChangeEventHandler" msprop:Generator_RowDeletedName="Stock_ProductRowDeleted" msprop:Generator_RowClassName="Stock_ProductRow" msprop:Generator_UserTableName="Stock_Product" msprop:Generator_RowEvArgName="Stock_ProductRowChangeEvent">
2528 <xs:complexType>
2529 <xs:sequence>
2530 <xs:element name="SP_ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnSP_ID" msprop:Generator_ColumnPropNameInRow="SP_ID" msprop:Generator_ColumnPropNameInTable="SP_IDColumn" msprop:Generator_UserColumnName="SP_ID" type="xs:int" />
2531 <xs:element name="StockID" msprop:Generator_ColumnVarNameInTable="columnStockID" msprop:Generator_ColumnPropNameInRow="StockID" msprop:Generator_ColumnPropNameInTable="StockIDColumn" msprop:Generator_UserColumnName="StockID" type="xs:int" />
2532 <xs:element name="ProductID" msprop:Generator_ColumnVarNameInTable="columnProductID" msprop:Generator_ColumnPropNameInRow="ProductID" msprop:Generator_ColumnPropNameInTable="ProductIDColumn" msprop:Generator_UserColumnName="ProductID" type="xs:int" />
2533 <xs:element name="Qty" msprop:Generator_ColumnVarNameInTable="columnQty" msprop:Generator_ColumnPropNameInRow="Qty" msprop:Generator_ColumnPropNameInTable="QtyColumn" msprop:Generator_UserColumnName="Qty" type="xs:int" />
2534 <xs:element name="Price" msprop:Generator_ColumnVarNameInTable="columnPrice" msprop:Generator_ColumnPropNameInRow="Price" msprop:Generator_ColumnPropNameInTable="PriceColumn" msprop:Generator_UserColumnName="Price" type="xs:decimal" />
2535 <xs:element name="TotalAmount" msprop:Generator_ColumnVarNameInTable="columnTotalAmount" msprop:Generator_ColumnPropNameInRow="TotalAmount" msprop:Generator_ColumnPropNameInTable="TotalAmountColumn" msprop:Generator_UserColumnName="TotalAmount" type="xs:decimal" />
2536 </xs:sequence>
2537 </xs:complexType>
2538 </xs:element>
2539 <xs:element name="SubCategory" msprop:Generator_TableClassName="SubCategoryDataTable" msprop:Generator_TableVarName="tableSubCategory" msprop:Generator_RowChangedName="SubCategoryRowChanged" msprop:Generator_TablePropName="SubCategory" msprop:Generator_RowDeletingName="SubCategoryRowDeleting" msprop:Generator_RowChangingName="SubCategoryRowChanging" msprop:Generator_RowEvHandlerName="SubCategoryRowChangeEventHandler" msprop:Generator_RowDeletedName="SubCategoryRowDeleted" msprop:Generator_RowClassName="SubCategoryRow" msprop:Generator_UserTableName="SubCategory" msprop:Generator_RowEvArgName="SubCategoryRowChangeEvent">
2540 <xs:complexType>
2541 <xs:sequence>
2542 <xs:element name="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
2543 <xs:element name="SubCategoryName" msprop:Generator_ColumnVarNameInTable="columnSubCategoryName" msprop:Generator_ColumnPropNameInRow="SubCategoryName" msprop:Generator_ColumnPropNameInTable="SubCategoryNameColumn" msprop:Generator_UserColumnName="SubCategoryName">
2544 <xs:simpleType>
2545 <xs:restriction base="xs:string">
2546 <xs:maxLength value="150" />
2547 </xs:restriction>
2548 </xs:simpleType>
2549 </xs:element>
2550 <xs:element name="Category" msprop:Generator_ColumnVarNameInTable="columnCategory" msprop:Generator_ColumnPropNameInRow="Category" msprop:Generator_ColumnPropNameInTable="CategoryColumn" msprop:Generator_UserColumnName="Category">
2551 <xs:simpleType>
2552 <xs:restriction base="xs:string">
2553 <xs:maxLength value="150" />
2554 </xs:restriction>
2555 </xs:simpleType>
2556 </xs:element>
2557 </xs:sequence>
2558 </xs:complexType>
2559 </xs:element>
2560 <xs:element name="Supplier" msprop:Generator_TableClassName="SupplierDataTable" msprop:Generator_TableVarName="tableSupplier" msprop:Generator_RowChangedName="SupplierRowChanged" msprop:Generator_TablePropName="Supplier" msprop:Generator_RowDeletingName="SupplierRowDeleting" msprop:Generator_RowChangingName="SupplierRowChanging" msprop:Generator_RowEvHandlerName="SupplierRowChangeEventHandler" msprop:Generator_RowDeletedName="SupplierRowDeleted" msprop:Generator_RowClassName="SupplierRow" msprop:Generator_UserTableName="Supplier" msprop:Generator_RowEvArgName="SupplierRowChangeEvent">
2561 <xs:complexType>
2562 <xs:sequence>
2563 <xs:element name="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
2564 <xs:element name="SupplierID" msprop:Generator_ColumnVarNameInTable="columnSupplierID" msprop:Generator_ColumnPropNameInRow="SupplierID" msprop:Generator_ColumnPropNameInTable="SupplierIDColumn" msprop:Generator_UserColumnName="SupplierID">
2565 <xs:simpleType>
2566 <xs:restriction base="xs:string">
2567 <xs:maxLength value="30" />
2568 </xs:restriction>
2569 </xs:simpleType>
2570 </xs:element>
2571 <xs:element name="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" msprop:Generator_UserColumnName="Name" minOccurs="0">
2572 <xs:simpleType>
2573 <xs:restriction base="xs:string">
2574 <xs:maxLength value="200" />
2575 </xs:restriction>
2576 </xs:simpleType>
2577 </xs:element>
2578 <xs:element name="Address" msprop:Generator_ColumnVarNameInTable="columnAddress" msprop:Generator_ColumnPropNameInRow="Address" msprop:Generator_ColumnPropNameInTable="AddressColumn" msprop:Generator_UserColumnName="Address" minOccurs="0">
2579 <xs:simpleType>
2580 <xs:restriction base="xs:string">
2581 <xs:maxLength value="250" />
2582 </xs:restriction>
2583 </xs:simpleType>
2584 </xs:element>
2585 <xs:element name="City" msprop:Generator_ColumnVarNameInTable="columnCity" msprop:Generator_ColumnPropNameInRow="City" msprop:Generator_ColumnPropNameInTable="CityColumn" msprop:Generator_UserColumnName="City" minOccurs="0">
2586 <xs:simpleType>
2587 <xs:restriction base="xs:string">
2588 <xs:maxLength value="200" />
2589 </xs:restriction>
2590 </xs:simpleType>
2591 </xs:element>
2592 <xs:element name="State" msprop:Generator_ColumnVarNameInTable="columnState" msprop:Generator_ColumnPropNameInRow="State" msprop:Generator_ColumnPropNameInTable="StateColumn" msprop:Generator_UserColumnName="State" minOccurs="0">
2593 <xs:simpleType>
2594 <xs:restriction base="xs:string">
2595 <xs:maxLength value="150" />
2596 </xs:restriction>
2597 </xs:simpleType>
2598 </xs:element>
2599 <xs:element name="ZipCode" msprop:Generator_ColumnVarNameInTable="columnZipCode" msprop:Generator_ColumnPropNameInRow="ZipCode" msprop:Generator_ColumnPropNameInTable="ZipCodeColumn" msprop:Generator_UserColumnName="ZipCode" minOccurs="0">
2600 <xs:simpleType>
2601 <xs:restriction base="xs:string">
2602 <xs:maxLength value="15" />
2603 </xs:restriction>
2604 </xs:simpleType>
2605 </xs:element>
2606 <xs:element name="ContactNo" msprop:Generator_ColumnVarNameInTable="columnContactNo" msprop:Generator_ColumnPropNameInRow="ContactNo" msprop:Generator_ColumnPropNameInTable="ContactNoColumn" msprop:Generator_UserColumnName="ContactNo" minOccurs="0">
2607 <xs:simpleType>
2608 <xs:restriction base="xs:string">
2609 <xs:maxLength value="150" />
2610 </xs:restriction>
2611 </xs:simpleType>
2612 </xs:element>
2613 <xs:element name="EmailID" msprop:Generator_ColumnVarNameInTable="columnEmailID" msprop:Generator_ColumnPropNameInRow="EmailID" msprop:Generator_ColumnPropNameInTable="EmailIDColumn" msprop:Generator_UserColumnName="EmailID" minOccurs="0">
2614 <xs:simpleType>
2615 <xs:restriction base="xs:string">
2616 <xs:maxLength value="200" />
2617 </xs:restriction>
2618 </xs:simpleType>
2619 </xs:element>
2620 <xs:element name="Remarks" msprop:Generator_ColumnVarNameInTable="columnRemarks" msprop:Generator_ColumnPropNameInRow="Remarks" msprop:Generator_ColumnPropNameInTable="RemarksColumn" msprop:Generator_UserColumnName="Remarks" minOccurs="0">
2621 <xs:simpleType>
2622 <xs:restriction base="xs:string">
2623 <xs:maxLength value="2147483647" />
2624 </xs:restriction>
2625 </xs:simpleType>
2626 </xs:element>
2627 </xs:sequence>
2628 </xs:complexType>
2629 </xs:element>
2630 <xs:element name="Temp_Stock" msprop:Generator_TableClassName="Temp_StockDataTable" msprop:Generator_TableVarName="tableTemp_Stock" msprop:Generator_RowChangedName="Temp_StockRowChanged" msprop:Generator_TablePropName="Temp_Stock" msprop:Generator_RowDeletingName="Temp_StockRowDeleting" msprop:Generator_RowChangingName="Temp_StockRowChanging" msprop:Generator_RowEvHandlerName="Temp_StockRowChangeEventHandler" msprop:Generator_RowDeletedName="Temp_StockRowDeleted" msprop:Generator_RowClassName="Temp_StockRow" msprop:Generator_UserTableName="Temp_Stock" msprop:Generator_RowEvArgName="Temp_StockRowChangeEvent">
2631 <xs:complexType>
2632 <xs:sequence>
2633 <xs:element name="ProductID" msprop:Generator_ColumnVarNameInTable="columnProductID" msprop:Generator_ColumnPropNameInRow="ProductID" msprop:Generator_ColumnPropNameInTable="ProductIDColumn" msprop:Generator_UserColumnName="ProductID" type="xs:int" />
2634 <xs:element name="Qty" msprop:Generator_ColumnVarNameInTable="columnQty" msprop:Generator_ColumnPropNameInRow="Qty" msprop:Generator_ColumnPropNameInTable="QtyColumn" msprop:Generator_UserColumnName="Qty" type="xs:int" />
2635 </xs:sequence>
2636 </xs:complexType>
2637 </xs:element>
2638 <xs:element name="Voucher" msprop:Generator_TableClassName="VoucherDataTable" msprop:Generator_TableVarName="tableVoucher" msprop:Generator_RowChangedName="VoucherRowChanged" msprop:Generator_TablePropName="Voucher" msprop:Generator_RowDeletingName="VoucherRowDeleting" msprop:Generator_RowChangingName="VoucherRowChanging" msprop:Generator_RowEvHandlerName="VoucherRowChangeEventHandler" msprop:Generator_RowDeletedName="VoucherRowDeleted" msprop:Generator_RowClassName="VoucherRow" msprop:Generator_UserTableName="Voucher" msprop:Generator_RowEvArgName="VoucherRowChangeEvent">
2639 <xs:complexType>
2640 <xs:sequence>
2641 <xs:element name="Id" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnPropNameInTable="IdColumn" msprop:Generator_UserColumnName="Id" type="xs:int" />
2642 <xs:element name="VoucherNo" msprop:Generator_ColumnVarNameInTable="columnVoucherNo" msprop:Generator_ColumnPropNameInRow="VoucherNo" msprop:Generator_ColumnPropNameInTable="VoucherNoColumn" msprop:Generator_UserColumnName="VoucherNo">
2643 <xs:simpleType>
2644 <xs:restriction base="xs:string">
2645 <xs:maxLength value="30" />
2646 </xs:restriction>
2647 </xs:simpleType>
2648 </xs:element>
2649 <xs:element name="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" msprop:Generator_UserColumnName="Name" minOccurs="0">
2650 <xs:simpleType>
2651 <xs:restriction base="xs:string">
2652 <xs:maxLength value="150" />
2653 </xs:restriction>
2654 </xs:simpleType>
2655 </xs:element>
2656 <xs:element name="Date" msprop:Generator_ColumnVarNameInTable="columnDate" msprop:Generator_ColumnPropNameInRow="_Date" msprop:Generator_ColumnPropNameInTable="DateColumn" msprop:Generator_UserColumnName="Date" type="xs:dateTime" />
2657 <xs:element name="Details" msprop:Generator_ColumnVarNameInTable="columnDetails" msprop:Generator_ColumnPropNameInRow="Details" msprop:Generator_ColumnPropNameInTable="DetailsColumn" msprop:Generator_UserColumnName="Details" minOccurs="0">
2658 <xs:simpleType>
2659 <xs:restriction base="xs:string">
2660 <xs:maxLength value="10" />
2661 </xs:restriction>
2662 </xs:simpleType>
2663 </xs:element>
2664 <xs:element name="GrandTotal" msprop:Generator_ColumnVarNameInTable="columnGrandTotal" msprop:Generator_ColumnPropNameInRow="GrandTotal" msprop:Generator_ColumnPropNameInTable="GrandTotalColumn" msprop:Generator_UserColumnName="GrandTotal" type="xs:decimal" />
2665 </xs:sequence>
2666 </xs:complexType>
2667 </xs:element>
2668 <xs:element name="Voucher_OtherDetails" msprop:Generator_TableClassName="Voucher_OtherDetailsDataTable" msprop:Generator_TableVarName="tableVoucher_OtherDetails" msprop:Generator_RowChangedName="Voucher_OtherDetailsRowChanged" msprop:Generator_TablePropName="Voucher_OtherDetails" msprop:Generator_RowDeletingName="Voucher_OtherDetailsRowDeleting" msprop:Generator_RowChangingName="Voucher_OtherDetailsRowChanging" msprop:Generator_RowEvHandlerName="Voucher_OtherDetailsRowChangeEventHandler" msprop:Generator_RowDeletedName="Voucher_OtherDetailsRowDeleted" msprop:Generator_RowClassName="Voucher_OtherDetailsRow" msprop:Generator_UserTableName="Voucher_OtherDetails" msprop:Generator_RowEvArgName="Voucher_OtherDetailsRowChangeEvent">
2669 <xs:complexType>
2670 <xs:sequence>
2671 <xs:element name="VD_ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnVD_ID" msprop:Generator_ColumnPropNameInRow="VD_ID" msprop:Generator_ColumnPropNameInTable="VD_IDColumn" msprop:Generator_UserColumnName="VD_ID" type="xs:int" />
2672 <xs:element name="VoucherID" msprop:Generator_ColumnVarNameInTable="columnVoucherID" msprop:Generator_ColumnPropNameInRow="VoucherID" msprop:Generator_ColumnPropNameInTable="VoucherIDColumn" msprop:Generator_UserColumnName="VoucherID" type="xs:int" />
2673 <xs:element name="Particulars" msprop:Generator_ColumnVarNameInTable="columnParticulars" msprop:Generator_ColumnPropNameInRow="Particulars" msprop:Generator_ColumnPropNameInTable="ParticularsColumn" msprop:Generator_UserColumnName="Particulars">
2674 <xs:simpleType>
2675 <xs:restriction base="xs:string">
2676 <xs:maxLength value="200" />
2677 </xs:restriction>
2678 </xs:simpleType>
2679 </xs:element>
2680 <xs:element name="Amount" msprop:Generator_ColumnVarNameInTable="columnAmount" msprop:Generator_ColumnPropNameInRow="Amount" msprop:Generator_ColumnPropNameInTable="AmountColumn" msprop:Generator_UserColumnName="Amount" type="xs:decimal" />
2681 <xs:element name="Note" msprop:Generator_ColumnVarNameInTable="columnNote" msprop:Generator_ColumnPropNameInRow="Note" msprop:Generator_ColumnPropNameInTable="NoteColumn" msprop:Generator_UserColumnName="Note" minOccurs="0">
2682 <xs:simpleType>
2683 <xs:restriction base="xs:string">
2684 <xs:maxLength value="2147483647" />
2685 </xs:restriction>
2686 </xs:simpleType>
2687 </xs:element>
2688 </xs:sequence>
2689 </xs:complexType>
2690 </xs:element>
2691 </xs:choice>
2692 </xs:complexType>
2693 <xs:unique name="Constraint1" msdata:PrimaryKey="true">
2694 <xs:selector xpath=".//mstns:Activation" />
2695 <xs:field xpath="mstns:ID" />
2696 </xs:unique>
2697 <xs:unique name="Category_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2698 <xs:selector xpath=".//mstns:Category" />
2699 <xs:field xpath="mstns:CategoryName" />
2700 </xs:unique>
2701 <xs:unique name="Company_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2702 <xs:selector xpath=".//mstns:Company" />
2703 <xs:field xpath="mstns:ID" />
2704 </xs:unique>
2705 <xs:unique name="Company_Contacts_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2706 <xs:selector xpath=".//mstns:Company_Contacts" />
2707 <xs:field xpath="mstns:Id" />
2708 </xs:unique>
2709 <xs:unique name="Customer_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2710 <xs:selector xpath=".//mstns:Customer" />
2711 <xs:field xpath="mstns:ID" />
2712 </xs:unique>
2713 <xs:unique name="Invoice_Payment_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2714 <xs:selector xpath=".//mstns:Invoice_Payment" />
2715 <xs:field xpath="mstns:IP_ID" />
2716 </xs:unique>
2717 <xs:unique name="Invoice_Product_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2718 <xs:selector xpath=".//mstns:Invoice_Product" />
2719 <xs:field xpath="mstns:IPo_ID" />
2720 </xs:unique>
2721 <xs:unique name="Invoice1_Payment_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2722 <xs:selector xpath=".//mstns:Invoice1_Payment" />
2723 <xs:field xpath="mstns:IP_ID" />
2724 </xs:unique>
2725 <xs:unique name="Invoice1_Product_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2726 <xs:selector xpath=".//mstns:Invoice1_Product" />
2727 <xs:field xpath="mstns:Ipo_ID" />
2728 </xs:unique>
2729 <xs:unique name="InvoiceInfo_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2730 <xs:selector xpath=".//mstns:InvoiceInfo" />
2731 <xs:field xpath="mstns:Inv_ID" />
2732 </xs:unique>
2733 <xs:unique name="InvoiceInfo1_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2734 <xs:selector xpath=".//mstns:InvoiceInfo1" />
2735 <xs:field xpath="mstns:Inv_ID" />
2736 </xs:unique>
2737 <xs:unique name="Logs_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2738 <xs:selector xpath=".//mstns:Logs" />
2739 <xs:field xpath="mstns:ID" />
2740 </xs:unique>
2741 <xs:unique name="Product_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2742 <xs:selector xpath=".//mstns:Product" />
2743 <xs:field xpath="mstns:PID" />
2744 </xs:unique>
2745 <xs:unique name="Product_Join_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2746 <xs:selector xpath=".//mstns:Product_Join" />
2747 <xs:field xpath="mstns:Id" />
2748 </xs:unique>
2749 <xs:unique name="Quotation_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2750 <xs:selector xpath=".//mstns:Quotation" />
2751 <xs:field xpath="mstns:Q_ID" />
2752 </xs:unique>
2753 <xs:unique name="Quotation_Join_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2754 <xs:selector xpath=".//mstns:Quotation_Join" />
2755 <xs:field xpath="mstns:QJ_ID" />
2756 </xs:unique>
2757 <xs:unique name="Registration_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2758 <xs:selector xpath=".//mstns:Registration" />
2759 <xs:field xpath="mstns:UserID" />
2760 </xs:unique>
2761 <xs:unique name="Service_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2762 <xs:selector xpath=".//mstns:Service" />
2763 <xs:field xpath="mstns:S_ID" />
2764 </xs:unique>
2765 <xs:unique name="SMSSetting_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2766 <xs:selector xpath=".//mstns:SMSSetting" />
2767 <xs:field xpath="mstns:Id" />
2768 </xs:unique>
2769 <xs:unique name="Stock_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2770 <xs:selector xpath=".//mstns:Stock" />
2771 <xs:field xpath="mstns:ST_ID" />
2772 </xs:unique>
2773 <xs:unique name="Stock_Product_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2774 <xs:selector xpath=".//mstns:Stock_Product" />
2775 <xs:field xpath="mstns:SP_ID" />
2776 </xs:unique>
2777 <xs:unique name="SubCategory_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2778 <xs:selector xpath=".//mstns:SubCategory" />
2779 <xs:field xpath="mstns:ID" />
2780 </xs:unique>
2781 <xs:unique name="Supplier_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2782 <xs:selector xpath=".//mstns:Supplier" />
2783 <xs:field xpath="mstns:ID" />
2784 </xs:unique>
2785 <xs:unique name="Temp_Stock_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2786 <xs:selector xpath=".//mstns:Temp_Stock" />
2787 <xs:field xpath="mstns:ProductID" />
2788 </xs:unique>
2789 <xs:unique name="Voucher_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2790 <xs:selector xpath=".//mstns:Voucher" />
2791 <xs:field xpath="mstns:Id" />
2792 </xs:unique>
2793 <xs:unique name="Voucher_OtherDetails_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
2794 <xs:selector xpath=".//mstns:Voucher_OtherDetails" />
2795 <xs:field xpath="mstns:VD_ID" />
2796 </xs:unique>
2797 </xs:element>
2798 <xs:annotation>
2799 <xs:appinfo>
2800 <msdata:Relationship name="FK_Invoice_Payment_InvoiceInfo" msdata:parent="InvoiceInfo" msdata:child="Invoice_Payment" msdata:parentkey="Inv_ID" msdata:childkey="InvoiceID" msprop:Generator_UserChildTable="Invoice_Payment" msprop:Generator_ChildPropName="GetInvoice_PaymentRows" msprop:Generator_UserRelationName="FK_Invoice_Payment_InvoiceInfo" msprop:Generator_ParentPropName="InvoiceInfoRow" msprop:Generator_RelationVarName="relationFK_Invoice_Payment_InvoiceInfo" msprop:Generator_UserParentTable="InvoiceInfo" />
2801 <msdata:Relationship name="FK_Invoice_Product_InvoiceInfo" msdata:parent="InvoiceInfo" msdata:child="Invoice_Product" msdata:parentkey="Inv_ID" msdata:childkey="InvoiceID" msprop:Generator_UserChildTable="Invoice_Product" msprop:Generator_ChildPropName="GetInvoice_ProductRows" msprop:Generator_UserRelationName="FK_Invoice_Product_InvoiceInfo" msprop:Generator_ParentPropName="InvoiceInfoRow" msprop:Generator_RelationVarName="relationFK_Invoice_Product_InvoiceInfo" msprop:Generator_UserParentTable="InvoiceInfo" />
2802 <msdata:Relationship name="FK_Invoice_Product_Product" msdata:parent="Product" msdata:child="Invoice_Product" msdata:parentkey="PID" msdata:childkey="ProductID" msprop:Generator_UserChildTable="Invoice_Product" msprop:Generator_ChildPropName="GetInvoice_ProductRows" msprop:Generator_UserRelationName="FK_Invoice_Product_Product" msprop:Generator_ParentPropName="ProductRow" msprop:Generator_RelationVarName="relationFK_Invoice_Product_Product" msprop:Generator_UserParentTable="Product" />
2803 <msdata:Relationship name="FK_Invoice1_Payment_InvoiceInfo1" msdata:parent="InvoiceInfo1" msdata:child="Invoice1_Payment" msdata:parentkey="Inv_ID" msdata:childkey="InvoiceID" msprop:Generator_UserChildTable="Invoice1_Payment" msprop:Generator_ChildPropName="GetInvoice1_PaymentRows" msprop:Generator_UserRelationName="FK_Invoice1_Payment_InvoiceInfo1" msprop:Generator_ParentPropName="InvoiceInfo1Row" msprop:Generator_RelationVarName="relationFK_Invoice1_Payment_InvoiceInfo1" msprop:Generator_UserParentTable="InvoiceInfo1" />
2804 <msdata:Relationship name="FK_Invoice1_Product_InvoiceInfo1" msdata:parent="InvoiceInfo1" msdata:child="Invoice1_Product" msdata:parentkey="Inv_ID" msdata:childkey="InvoiceID" msprop:Generator_UserChildTable="Invoice1_Product" msprop:Generator_ChildPropName="GetInvoice1_ProductRows" msprop:Generator_UserRelationName="FK_Invoice1_Product_InvoiceInfo1" msprop:Generator_ParentPropName="InvoiceInfo1Row" msprop:Generator_RelationVarName="relationFK_Invoice1_Product_InvoiceInfo1" msprop:Generator_UserParentTable="InvoiceInfo1" />
2805 <msdata:Relationship name="FK_Invoice1_Product_Product" msdata:parent="Product" msdata:child="Invoice1_Product" msdata:parentkey="PID" msdata:childkey="ProductID" msprop:Generator_UserChildTable="Invoice1_Product" msprop:Generator_ChildPropName="GetInvoice1_ProductRows" msprop:Generator_UserRelationName="FK_Invoice1_Product_Product" msprop:Generator_ParentPropName="ProductRow" msprop:Generator_RelationVarName="relationFK_Invoice1_Product_Product" msprop:Generator_UserParentTable="Product" />
2806 <msdata:Relationship name="FK_InvoiceInfo_Customer" msdata:parent="Customer" msdata:child="InvoiceInfo" msdata:parentkey="ID" msdata:childkey="CustomerID" msprop:Generator_UserChildTable="InvoiceInfo" msprop:Generator_ChildPropName="GetInvoiceInfoRows" msprop:Generator_UserRelationName="FK_InvoiceInfo_Customer" msprop:Generator_RelationVarName="relationFK_InvoiceInfo_Customer" msprop:Generator_UserParentTable="Customer" msprop:Generator_ParentPropName="CustomerRow" />
2807 <msdata:Relationship name="FK_InvoiceInfo1_Service" msdata:parent="Service" msdata:child="InvoiceInfo1" msdata:parentkey="S_ID" msdata:childkey="ServiceID" msprop:Generator_UserChildTable="InvoiceInfo1" msprop:Generator_ChildPropName="GetInvoiceInfo1Rows" msprop:Generator_UserRelationName="FK_InvoiceInfo1_Service" msprop:Generator_ParentPropName="ServiceRow" msprop:Generator_RelationVarName="relationFK_InvoiceInfo1_Service" msprop:Generator_UserParentTable="Service" />
2808 <msdata:Relationship name="FK_Logs_Registration" msdata:parent="Registration" msdata:child="Logs" msdata:parentkey="UserID" msdata:childkey="UserID" msprop:Generator_UserChildTable="Logs" msprop:Generator_ChildPropName="GetLogsRows" msprop:Generator_UserRelationName="FK_Logs_Registration" msprop:Generator_ParentPropName="RegistrationRow" msprop:Generator_RelationVarName="relationFK_Logs_Registration" msprop:Generator_UserParentTable="Registration" />
2809 <msdata:Relationship name="FK_Product_SubCategory" msdata:parent="SubCategory" msdata:child="Product" msdata:parentkey="ID" msdata:childkey="SubCategoryID" msprop:Generator_UserChildTable="Product" msprop:Generator_ChildPropName="GetProductRows" msprop:Generator_UserRelationName="FK_Product_SubCategory" msprop:Generator_ParentPropName="SubCategoryRow" msprop:Generator_RelationVarName="relationFK_Product_SubCategory" msprop:Generator_UserParentTable="SubCategory" />
2810 <msdata:Relationship name="FK_Product_Join_Product" msdata:parent="Product" msdata:child="Product_Join" msdata:parentkey="PID" msdata:childkey="ProductID" msprop:Generator_UserChildTable="Product_Join" msprop:Generator_ChildPropName="GetProduct_JoinRows" msprop:Generator_UserRelationName="FK_Product_Join_Product" msprop:Generator_RelationVarName="relationFK_Product_Join_Product" msprop:Generator_UserParentTable="Product" msprop:Generator_ParentPropName="ProductRow" />
2811 <msdata:Relationship name="FK_Quotation_Customer" msdata:parent="Customer" msdata:child="Quotation" msdata:parentkey="ID" msdata:childkey="CustomerID" msprop:Generator_UserChildTable="Quotation" msprop:Generator_ChildPropName="GetQuotationRows" msprop:Generator_UserRelationName="FK_Quotation_Customer" msprop:Generator_RelationVarName="relationFK_Quotation_Customer" msprop:Generator_UserParentTable="Customer" msprop:Generator_ParentPropName="CustomerRow" />
2812 <msdata:Relationship name="FK_Quotation_Join_Product" msdata:parent="Product" msdata:child="Quotation_Join" msdata:parentkey="PID" msdata:childkey="ProductID" msprop:Generator_UserChildTable="Quotation_Join" msprop:Generator_ChildPropName="GetQuotation_JoinRows" msprop:Generator_UserRelationName="FK_Quotation_Join_Product" msprop:Generator_RelationVarName="relationFK_Quotation_Join_Product" msprop:Generator_UserParentTable="Product" msprop:Generator_ParentPropName="ProductRow" />
2813 <msdata:Relationship name="FK_Quotation_Join_Quotation" msdata:parent="Quotation" msdata:child="Quotation_Join" msdata:parentkey="Q_ID" msdata:childkey="QuotationID" msprop:Generator_UserChildTable="Quotation_Join" msprop:Generator_ChildPropName="GetQuotation_JoinRows" msprop:Generator_UserRelationName="FK_Quotation_Join_Quotation" msprop:Generator_RelationVarName="relationFK_Quotation_Join_Quotation" msprop:Generator_UserParentTable="Quotation" msprop:Generator_ParentPropName="QuotationRow" />
2814 <msdata:Relationship name="FK_Service_Customer" msdata:parent="Customer" msdata:child="Service" msdata:parentkey="ID" msdata:childkey="CustomerID" msprop:Generator_UserChildTable="Service" msprop:Generator_ChildPropName="GetServiceRows" msprop:Generator_UserRelationName="FK_Service_Customer" msprop:Generator_RelationVarName="relationFK_Service_Customer" msprop:Generator_UserParentTable="Customer" msprop:Generator_ParentPropName="CustomerRow" />
2815 <msdata:Relationship name="FK_Stock_Supplier" msdata:parent="Supplier" msdata:child="Stock" msdata:parentkey="ID" msdata:childkey="SupplierID" msprop:Generator_UserChildTable="Stock" msprop:Generator_ChildPropName="GetStockRows" msprop:Generator_UserRelationName="FK_Stock_Supplier" msprop:Generator_ParentPropName="SupplierRow" msprop:Generator_RelationVarName="relationFK_Stock_Supplier" msprop:Generator_UserParentTable="Supplier" />
2816 <msdata:Relationship name="FK_Stock_Product_Product" msdata:parent="Product" msdata:child="Stock_Product" msdata:parentkey="PID" msdata:childkey="ProductID" msprop:Generator_UserChildTable="Stock_Product" msprop:Generator_ChildPropName="GetStock_ProductRows" msprop:Generator_UserRelationName="FK_Stock_Product_Product" msprop:Generator_RelationVarName="relationFK_Stock_Product_Product" msprop:Generator_UserParentTable="Product" msprop:Generator_ParentPropName="ProductRow" />
2817 <msdata:Relationship name="FK_Stock_Product_Stock" msdata:parent="Stock" msdata:child="Stock_Product" msdata:parentkey="ST_ID" msdata:childkey="StockID" msprop:Generator_UserChildTable="Stock_Product" msprop:Generator_ChildPropName="GetStock_ProductRows" msprop:Generator_UserRelationName="FK_Stock_Product_Stock" msprop:Generator_RelationVarName="relationFK_Stock_Product_Stock" msprop:Generator_UserParentTable="Stock" msprop:Generator_ParentPropName="StockRow" />
2818 <msdata:Relationship name="FK_SubCategory_Category" msdata:parent="Category" msdata:child="SubCategory" msdata:parentkey="CategoryName" msdata:childkey="Category" msprop:Generator_UserChildTable="SubCategory" msprop:Generator_ChildPropName="GetSubCategoryRows" msprop:Generator_UserRelationName="FK_SubCategory_Category" msprop:Generator_RelationVarName="relationFK_SubCategory_Category" msprop:Generator_UserParentTable="Category" msprop:Generator_ParentPropName="CategoryRow" />
2819 <msdata:Relationship name="FK_Temp_Stock_Product" msdata:parent="Product" msdata:child="Temp_Stock" msdata:parentkey="PID" msdata:childkey="ProductID" msprop:Generator_UserChildTable="Temp_Stock" msprop:Generator_ChildPropName="GetTemp_StockRows" msprop:Generator_UserRelationName="FK_Temp_Stock_Product" msprop:Generator_RelationVarName="relationFK_Temp_Stock_Product" msprop:Generator_UserParentTable="Product" msprop:Generator_ParentPropName="ProductRow" />
2820 <msdata:Relationship name="FK_Voucher_OtherDetails_Voucher" msdata:parent="Voucher" msdata:child="Voucher_OtherDetails" msdata:parentkey="Id" msdata:childkey="VoucherID" msprop:Generator_UserChildTable="Voucher_OtherDetails" msprop:Generator_ChildPropName="GetVoucher_OtherDetailsRows" msprop:Generator_UserRelationName="FK_Voucher_OtherDetails_Voucher" msprop:Generator_RelationVarName="relationFK_Voucher_OtherDetails_Voucher" msprop:Generator_UserParentTable="Voucher" msprop:Generator_ParentPropName="VoucherRow" />
2821 </xs:appinfo>
2822 </xs:annotation>
2823 </xs:schema>